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
bug: ActionSheet CSS custom properties are applied to 'selected' role button since 8.7.12 #30921
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v8.x
Current Behavior
When we set the role: 'selected' property on an ActionSheetButton the rendered html button is missing class action-sheet-selected. This results in missing applied css styles applied, e.g. if we set --button-color-selected on for the action sheet's custom css class, that style is not shown.
Other action-sheet-ROLE classes (e.g. destructive are still applied to the button.
Expected Behavior
The css class action-sheet-selected is applied if a button's role is set to selected and therefore the custom css properties are taking action.
For instance if I set --button-color-selected: purple; (with a proper css class attached to my action sheet) I expect that the button with role selected is showing a purple text color.
This looks like the same regression fixed by #31109. I checked current main and ran the existing selected-role regression test; it passes and preserves action-sheet-selected on non-radio buttons.
Activity
minwookshin commentedon Oct 4, 2026
This looks like the same regression fixed by #31109. I checked current
mainand ran the existing selected-role regression test; it passes and preservesaction-sheet-selectedon non-radio buttons.