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

Feature: Menu Without ActiveName #126

Open
jcuenod opened this issue Jun 15, 2018 · 0 comments
Open

Feature: Menu Without ActiveName #126

jcuenod opened this issue Jun 15, 2018 · 0 comments

Comments

@jcuenod
Copy link

jcuenod commented Jun 15, 2018

What will it allow you to do that you can't do today?

Right now at-menu behaves somewhat like a tab bar with an active element. Menus in native, however, are typically stateless (selecting an option does not change the appearance of the menu).

Although at-menu can begin without an activeName, the moment an item is chosen, that menu element gets highlighted. It would be great if there were a "togglable" option on menu-items that could be set to true/false which would determine whether an item should become active or simply respond like a button.

How will it make current work-arounds straightforward?

I am not sure what the current workarounds to solve this issue would be.

What potential bugs and edge cases does it help to avoid?

The default value would need to be considered but I don't think this would be hard to implement at all since the initial state of the menu clearly allows for this functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant