Update of MenuItem's 'expanded' property not working #14329
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
This Stackblitz link was forked from PrimeNG 16.9.1 Multiple PanelMenu.
In that, a button was added to change Edit and Archieve submenus as the following:
However this isn't working, at least compared to PrimeNg version 16.0.2, which you can find a Stackblitz link here (just changed PrimeNg version in package.json)
Steps to replicate issue at Stackblitz (both of two links above):
Before:
After:
I've noticed this, because we recently upgraded Angular and PrimeNg versions to ~16.3.0 in our project, and we had methods to handle expansion/collapse (mostly mngt of 'expanded'property) of 3rd and 4th menu levels, which were working fine in v15 & v16.0.2.
I don't know if in PrimeNG versions greather than 16.0.2, expansion was supposed to be handled differently, bc I couldn't find anything related.
I'd really appreciate if anyone could provide some support in this matter.
Cheers.
Environment
Angular 16.2.1 so as PrimeNg 16.3.1
Reproducer
No response
Angular version
16.2.1
PrimeNG version
16.3.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.5.0
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: