PanelMenu: Menu items with no sub-items toggling border radius #4816
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
In our program we are using PanelMenu for a side bar navigation component. We require some items to have sub-items but most are standalone. I would expect the border radius of the standalone items to remain the same, but the bottom radius becomes 0 as if the item were expanding.
An example within the PanelMenu documentation:
https://primevue.org/panelmenu/#command
You can see the behavior by clicking on the "Sign Out" button multiple times. Every time it is clicked the bottom border toggles.
Reproducer
https://codesandbox.io/p/sandbox/condescending-silence-7gyyrt
PrimeVue version
3.28.0
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The border radius should remain unchanged when an item without sub-items is selected
The text was updated successfully, but these errors were encountered: