-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
v4: Add z-index to .custom-check to fix custom checks in CSS columns #30810
Conversation
For some reason, custom checks in CSS columns need a new stacking order to maintain visibility. This PR adds `z-index: 1` to trigger that new stacking order. Since v5's forms are being redone entirely, and we're dropping IE10/11 there, I think this is totally fine to ship with v4 only. Will need to check v5's forms it in Edge though. Fixes #29607.
FYI CSS columns trigger a new containing block, just as I mentionned the spec in another issue this week with Don't know if it needs to be mentionned in the docs, but at least in the PR 😉 |
@MartijnCuppens LGTY, too? |
@mdo in my app, adding so I traced the source of the issue and found this changed shipped in v4.5.1. bumping up the z-index on the other component was an obvious fix in my case but touching z-index is always tricky. I wonder how many affected apps are out there and I if there was an alternative solution for solving the original bug #29607. |
Like the user above, this triggered a couple of visual bugs for us where custom controls were show up through dropdowns. Since the original bug seems to be IE11 and old Edge specific, perhaps targetting the fix to only those browsers would be a worthwhile compromise? That's what we intend to do locally anyway. |
Please make a new issue if you think this still applies. |
For some reason, custom checks in CSS columns need a new stacking order to maintain visibility. This PR adds
z-index: 1
to trigger that new stacking order. Since v5's forms are being redone entirely, and we're dropping IE10/11 there, I think this is totally fine to ship with v4 only. Will need to check v5's forms it in Edge though.Fixes #29607.