-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Elements in an input group below a selectpicker have a higher z-index, causing them to appear above the opened menu #2078
Comments
Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via Plunker, jsFiddle, CodePen or JS Bin, and report back with your link, Bootstrap version, bootstrap-select version, and specific browser and OS details. |
Since 1.13.0, when you place the select in input-group, you've got this case : |
Have this issue as well. @caseyjhol, if you've got a pointer on where to look, I can take a stab at it. |
@caseyjhol Just trying to move the ball forward here; it seems that the issue I'm seeing stems from line 23 of
If I comment that out, my issue seems to go away without breaking anything else, at least so far as I can see at the moment. The purpose of that particular z-index is at present unclear to me, but it's not as if that's saying much, really...the set of things that are unclear to me is, regretfully, quite large. |
@bazineta That was first introduced in commit 9dfbe55 when support for HTML5 validation was added. Originally, the select was inserted after the button, which is why z-index needed to be set on the button. Since commit 303eb95, though, where support for pseudo class styling was added, setting the z-index there has been unnecessary (as the select element is now before the button). Thanks for catching that! Will get this out in the next release. |
This issue mostly stems from the fact that since v1.13.0-beta, the |
…ide an input-group. Remove unnecessary z-index: 1 on .dropdown-toggle. Remove unnecessary border-radius: 0 from .btn inside input-group-btn (border-radius is already using inherit elsewhere) (#2078)
Released in v1.13.6! |
I have tried to rewrite,
it has not been solved.
The text was updated successfully, but these errors were encountered: