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

Support indeterminate state #107

Open
turnerhayes opened this issue Aug 2, 2017 · 0 comments
Open

Support indeterminate state #107

turnerhayes opened this issue Aug 2, 2017 · 0 comments

Comments

@turnerhayes
Copy link

This component might want to represent an indeterminate state; the UX for that is an open question ("knob" in the middle?).

My particular use case is that I'm trying to add the ability for users to get notified through the Notification API; in order to do that, they need to enable the option through my UI, then respond to the browser's prompt to permit notification access, and only then have the option "enabled". In the meantime, I don't want to show the option as "enabled" or "disabled" (strictly speaking, it's disabled until the user gives permission, but having a control that doesn't change state at all when you interact with it is weird). I'm playing with approaches to that UX, and one thought is to have it in "indeterminate" state until the user has granted or denied permission.

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