Directive to insert button in mat-paginator: icon not rendering

Discussão em 'Angular' iniciado por VBobCat, Março 9, 2025.

  1. VBobCat

    VBobCat Guest

    I want to insert a button between "previous page" and "next page" in a mat-paginator component, and for that I wrote a directive that does the job of injecting the paginator and its DOM reference, and doing the proper insertions using Angular's Renderer2. It works, with exception of these two fails:

    • SVG icon is not rendered (button works but appears blank)
    • ToolTip is not shown.

    What am I missing?

    Link to my code in StackBlitz

    Continue reading...

Compartilhe esta Página