Repository navigation
Custom select focus glow not correct/consistant. #25656
Copy link
Copy link
Closed
Labels
cssSass sources or compiled CSSSass sources or compiled CSShas-prAn open pull request addresses itAn open pull request addresses itv4v4, the frozen docs on gh-pagesv4, the frozen docs on gh-pages
Description
Activity
bootstrap/scss/_variables.scss
Line 499 in c381d19
$custom-select-focus-box-shadow: inset 0 1px 2px rgba($black, .075), 0 0 5px rgba($custom-select-focus-border-color, .5) !default; Should be
$custom-select-focus-box-shadow: $input-focus-box-shadow !default;Or
$custom-select-focus-box-shadow: $input-btn-focus-box-shadow !default;- addedcssSass sources or compiled CSSSass sources or compiled CSSv4v4, the frozen docs on gh-pagesv4, the frozen docs on gh-pages
on Feb 19, 2018 Same here
- added a commit that references this issue
on May 12, 2018 Also visible in the screenshots that firefox does not respect the
outline: 0;onselectwhen you use the keyboard to focus :(
However there is a really hacky way to get rid of it: https://stackoverflow.com/questions/3773430/remove-outline-from-select-box-in-ff/18853002#18853002- added a commit that references this issue
on Jun 24, 2018 - added a commit that references this issue
on Jun 24, 2018 - added a commit that references this issue
on Jun 27, 2018
Metadata
Metadata
Assignees
Labels
cssSass sources or compiled CSSSass sources or compiled CSShas-prAn open pull request addresses itAn open pull request addresses itv4v4, the frozen docs on gh-pagesv4, the frozen docs on gh-pages

Live example can be see on the docs page https://getbootstrap.com/docs/4.0/components/forms/#select-menu
When you focus the glow is not consistant with other inputs.

Valid and Invalid apply the correct focus glow when I add the classes via console.

