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
I understand that the operation is in accordance with the code instructions (it always is, right?!), but I just don't think that this is the desired behavior. Why should the menu close on screen size change?
On a second note, as mentioned already, at the moment the values of 'aria-expanded' or the toggled class are not updated. This causes a number of issues, namely it becomes impossible to animate the button based on those attributes.
What should happen?
A toggled menu should stay open after a screen size change.
What happens instead?
Menu closes.
Possible Solution
...
Test Case and/or Steps to Reproduce (for bugs)
Test Case: https://codepen.io/koiastudio/pen/QWjZQBW
How to reproduce:
Context
One consequence is that the
aria-expanded
value on the element that triggers the toggle remainstrue
, although the menu is now closed.Your Environment
Checklist
The text was updated successfully, but these errors were encountered: