ContextMenu - does NOT remove from the DOM after router.navigate action #161
-
After routing to another page on clicking on one (command property) ContextMenu item - it does NOT work properly to me. ContextMenu is not removed from the DOM after we route to another page in the Angular app. First video (I set display: block !important to disable PrimeNG display: none bug), router navigate on command property does not work: 2023-10-02.09-44-54.mp4Second video (I do not override any PrimeNG CSS, issue with display: none CSS by PrimeNG 16 can be seen here), I'm clicking right mouse button to open up context menu: 2023-10-02.10-00-02.mp4The only change what I've done (temporarily on PrimeNG 16 because of a bug) in the video to original ContextMenu CSS is that I set manually So there are two bugs:
This has always worked in versions up to PrimeNG 15. Now on PrimeNG 16 I think that bug has been introduced. I did not change any code of PrimeNG in meantime. -- I'm available for more demonstration or explanation. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hi, Could you please share a stackblitz example so we can look into the code and identify the issue clearly? |
Beta Was this translation helpful? Give feedback.
primefaces/primeng#13949 Created. We can mark as answer this I guess?
Thanks.
Kind regards,
Robert Medved