axa-ch-webhub-cloud / pattern-library

AXA CH UI component library. Please share, comment, create issues and work with us!
https://axa-ch-webhub-cloud.github.io/plib-feature/develop
125 stars 18 forks source link

AXA Radio Button has weird background behind text when using combination of "checked" and "button" attribute #2437

Open corsin-ragettli opened 1 year ago

corsin-ragettli commented 1 year ago

Please only report technical bugs. Clarify design issues in the slack channel #ux-ui-support.

When using the radio buttons as buttons, when the checked attribute is true it doesn't apply the same style as manually selecting them does

Expected Behavior

The button should look like this: image

Current Behavior

The button looks like this: image

Steps to Reproduce

Storybook. Select for example the plane button, then toggle between checked and not checked, you should see the issue on the "car" button