Skip to content

When Router changes the page the materialize module.js stops working #448

@Bosque77

Description

@Bosque77

I am having the same issue as phixMe. When i first get to my page the materialize.js carousel is working. Then when i navigate away from my pages with a routerlink the materialize carousel stops working.

      <li><a routerLink="" style="color:black;">Jersey Miners</a></li>
      <li><a routerLink="/italian-menu" style="color:black;">Italian</a></li>
      <li><a routerLink="/checkout" style="color:black;">Checkout</a></li>

I am not using jquery to initialize the object. I am using the M from the 'materialize-css' module. I also have angular materialize loaded behind angular material in the my configuration package.

Please let me know if there is anything i can do to resolve this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions