-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increasing z-index of
Select
component to overlay other elements.
Before this change, other elements (namely react-bootstrap input components with addons) overlapped with `Select` inputs due to a higher `z-index` of the first. This change is increasing the `z-index` of the `Select`/`react-select` menu to `3` (react-bootstrap input addons are on `2`) to prevent this. Fixes #4769.
- Loading branch information
1 parent
841123b
commit 06beb2c
Showing
2 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,9 @@ | |
|
||
.select-sm .Select-input > input { | ||
padding: 0; | ||
} | ||
} | ||
|
||
:local(.increaseZIndex) .Select-menu-outer { | ||
z-index: 3; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters