Skip to content

Components initialization issues in Angular #84

Description

@3boodon

I'm facing a problem in angular when I navigate from route to another, basically what's happening is that components work at the first render, but then when I navigate away from current page and then return, the components in this page stop working and I believe that this related to the internal cache you use to prevent reinitialization but I'm not so sure though.

For example, to fix this issue with the new DatePicker component which was introduced recently by metronic, I had to keep generating new id for each input whenever I enter the page in order to fix this issue and force the library to consider these inputs as new elements that need to be reinitialized.

But this solution isn't working for other components like sticky for instance.

20251213-0108-47.5440215.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions