Skip to content

Diabled segmented button can be clicked #1382

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

Closed
vladitasev opened this issue Mar 27, 2020 · 0 comments · Fixed by #1393
Closed

Diabled segmented button can be clicked #1382

vladitasev opened this issue Mar 27, 2020 · 0 comments · Fixed by #1393
Assignees

Comments

@vladitasev
Copy link
Contributor

Disable all children of a segmented button.
[...$0.children].forEach(child => child.disabled = true)

Click somewhere on it, the selection is lost.

It should not be possible to change the selection by clicking on a disabled toggle button inside the segmented button.

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