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
it looks like the SegmentedControl.Item component doesn't support the disabled state out-of-the-box.
I can trick it by using the aria-disabled attribute, and changing the look and feel via CSS, but the Item is still clickable.
If I use pointer-events: none; it works, but I cannot customize the cursor.
Since the rendered component is a button, I wonder why it has been decided to remove disabled.
Do you know any good workaround?
Thanks,
Luca
The text was updated successfully, but these errors were encountered:
Hi,
it looks like the
SegmentedControl.Item
component doesn't support thedisabled
state out-of-the-box.I can trick it by using the
aria-disabled
attribute, and changing the look and feel via CSS, but theItem
is still clickable.If I use
pointer-events: none;
it works, but I cannot customize the cursor.Since the rendered component is a button, I wonder why it has been decided to remove
disabled
.Do you know any good workaround?
Thanks,
Luca
The text was updated successfully, but these errors were encountered: