-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
chore(components): change visibility style #5552
Conversation
This change addresses a common known problem of `visibility:visible` style; If an element with `visibility:hidden` has a child element with `visibility:visible`, the child element will be visible even though in most cases it's expected that the entire content (including the child element) is hidden. Refs carbon-design-system#5545.
Deploy preview for carbon-components-react ready! Built with commit 547596b https://deploy-preview-5552--carbon-components-react.netlify.com |
Deploy preview for carbon-elements ready! Built with commit 547596b |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not seeing any issues, LGTM 👍 ✅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me
This change addresses a common known problem of `visibility:visible` style; If an element with `visibility:hidden` has a child element with `visibility:visible`, the child element will be visible even though in most cases it's expected that the entire content (including the child element) is hidden. Refs #5545.
This change addresses a common known problem of
visibility:visible
style; If an element withvisibility:hidden
has a child element withvisibility:visible
, the child element will be visible even though in most cases it's expected that the entire content (including the child element) is hidden: https://jakearchibald.com/2014/visible-undoes-hidden/Refs #5545.
Changelog
Changed
visibility:visible
style withvisibility:inherit
Testing / Reviewing
Testing should make sure the following are not broken: