You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are displaying some menu items conditionally, you don't want to end up with potentially a bunch of separators separating nothing but empty space. Separators should be allowed to be hidden too.
melloware
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Sep 27, 2024
According to documentation, it appears that the 'visible' property of MenuItem can be used to set a hides for all menu item, including sub menu, separator, and menu items.
Describe the bug
If you are displaying some menu items conditionally, you don't want to end up with potentially a bunch of separators separating nothing but empty space. Separators should be allowed to be hidden too.
Reproducer
https://stackblitz.com/edit/vitejs-vite-hshelu?file=src%2FApp.tsx
The text was updated successfully, but these errors were encountered: