SplitButton: aria-expanded not set correctly #4065
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When opening the Splittbutton, the
aria-extended
property isn't set properly.The first time the value isn't updated at all, the following times it is in revered Order.
When the Menu is open
aria-expended
is set to false, when it is closedaria-expended
will become trueInitial state
opening first time
closing first time
opening following times
Reproducer
https://primevue.org/splitbutton/
PrimeVue version
3.29.2
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
aria-expended
is not updatedaria-expended
is falseExpected behavior
aria-expended
should update properlyThe text was updated successfully, but these errors were encountered: