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
{{ message }}
Repository navigation
ToggleGroup - update examples to toggle options #12234
Describe the enhancement or change
By nature the ToggleGroup (which uses aria-pressed on its children) should contain options that are toggleable - clicking once "selects"/toggles it on, and another click "unselects"/toggles it off. Most examples do this, but there are some instances where clicking a selected option doesn't unselect it:
ToggleGroup > "Single select toggle group" example
Table > "Basic" example
Table > "Actions" example
Alert > "Asynchronous live region alerts" example
The work that will need to be done includes:
Updating example logic so clicking an option truly toggles its selection
For the Table examples, removing the "default" options so that having no options selected results in the default appearance
For the Alert example, removing the "async alerts off" option so that you only toggle the "Async alerts on" option on or off
Is this request originating from a Red Hat product team? If so, which ones and is there any sort of deadline for this enhancement?
Activity
fix: update ToggleGroup examples to properly toggle options
fix: update ToggleGroup examples to properly toggle options (patternf…