Skip to content

Commit

Permalink
fix: scope Select stack context to stop label render bug #509
Browse files Browse the repository at this point in the history
  • Loading branch information
hxltrhuxze committed Mar 9, 2020
1 parent 1426376 commit 978bc8b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/css-framework/src/components/_select.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
@use "../abstracts/functions" as f;

.rn-select {
position: relative;


.rn-select__control {
padding-top: f.spacing("px");
padding-bottom: f.spacing("px");
border: 1px solid f.color("neutral", "200");
position: relative;
z-index: 0;
}

.rn-select__control--is-focused,
Expand Down Expand Up @@ -161,6 +163,7 @@
}

.rn-select__control--menu-is-open {
z-index: 1;
.rn-arrow {
transform: rotate(180deg) translateY(1px);
}
Expand Down

0 comments on commit 978bc8b

Please sign in to comment.