Skip to content
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

The disabled property value of the custom radio button is not reflected in the display on Microsoft Edge #28247

Closed
4dn-oss opened this issue Feb 13, 2019 · 3 comments · Fixed by #28275

Comments

@4dn-oss
Copy link

4dn-oss commented Feb 13, 2019

On Microsoft Edge, on changing the disabled property value of a custom radio button from JavaScript, the display of radio button is not updated. The display of radio button is updated correctly on Firefox (65), Chrome (72.0.3626.96), IE11 (11.590.17134.0).

OS: Windows 10 (1803)
Browser: Microsoft Edge (42.17134.1.0)

Sample: https://codepen.io/4dn-oss/pen/KJeOdz

Expected Behavior: Every time the 'disable/enable' button is clicked, radio buttons will be disabled/enabled.
Result: On Microsoft Edge, radio buttons are always displayed as if it is enabled.

@ysds
Copy link
Member

ysds commented Feb 13, 2019

Confirmed on Windows 10 (1809), Microsoft Edge 44.17763.1.0

edge

I found a similer report: carbon-design-system/carbon#1536

@4dn-oss
Copy link
Author

4dn-oss commented Feb 14, 2019

Adding the CSS style [disabled] ~ _ {} introduced in the carbon-design-system/carbon#1536 seems to solve this issue.

https://codepen.io/4dn-oss/pen/LqJGWQ

@4dn-oss
Copy link
Author

4dn-oss commented Mar 7, 2019

In my project, [disabled] ~ _ {} has deleted by webpack production build process. Dummy style such like [disabled]~_{font-size:inherit} solved this probrem.

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

Successfully merging a pull request may close this issue.

2 participants