-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Use z-index 3 to show focus state on all sides of input #17007
Conversation
Travis, please restart tests Failed to: |
@kkirsche thanks so much for the fast fix! That did solve the problem with the search input, although the border around buttons on the right look a little off -- this may be next to impossible to address. But this is acceptable to me. For me the buttons on the right looked even worse, but I don't really need highlighting on those as much so I turned it off.
|
Essentially, if they are the same z-index the first item will not have the right focus. If the input is higher, the input will always have all sections of focus while the button will have 3. Vice versa, if the button is highest, the button will always have 4 but the input will always have 3 |
Filed bug regarding Travis error: #17011 |
Travis error fixed via: #17012 |
Travis restart |
Won't do any good. You'd need to rebase to pick up the updated .travis.yml |
@cvrebert good point. Just rebased to pull that in |
Or better, only the focused element should get a higher z-index: .input-group .form-control:focus, .input-group-btn > .btn:focus {
z-index: 3;
} |
Looking at this again, I do believe we'd need to limit the |
Proper fix on |
Fixes #17001
JSBin with fix: http://jsbin.com/gifexipibu/edit?html,css,output