Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation Block: Merge open and close buttons into a single toggle button #58504

Open
huubl opened this issue Jan 31, 2024 · 0 comments
Open
Labels
[Block] Navigation Affects the Navigation Block [Type] Enhancement A suggestion for improvement.

Comments

@huubl
Copy link
Contributor

huubl commented Jan 31, 2024

What problem does this address?

The current implementation of the navigation block includes separate buttons for opening and closing the menu. This design makes it challenging to apply animations or transitions between the open and close states (like this).

What is your proposed solution?

To enhance the flexibility and usability of the navigation block, I propose merging the open and close buttons into a single toggle button. This button's state, icon, and aria-label can dynamically change based on the menu's current state (open or closed).

@huubl huubl added the [Type] Enhancement A suggestion for improvement. label Jan 31, 2024
@jordesign jordesign added the [Block] Navigation Affects the Navigation Block label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Navigation Affects the Navigation Block [Type] Enhancement A suggestion for improvement.
2 participants