Skip to content

Commit f01fbfd

Browse files
committed
[fixed] focused popups have a higher zIndex than others
1 parent c664145 commit f01fbfd

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/less/popup.less

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
background: @popup-bg;
99
padding: 2px;
1010
overflow: auto;
11-
11+
1212
// the offsets allows for drop shadow to not be clipped by the container
1313
margin-bottom: 10px;
1414
left: 10px;
@@ -31,7 +31,11 @@
3131
// offset for drop shadow on rw-popup
3232
left: -10px - @input-border-width;
3333
right: -10px - @input-border-width;
34-
34+
35+
.rw-widget.rw-state-focus & {
36+
z-index: @popup-zindex + 10;
37+
}
38+
3539
&.rw-dropup {
3640
top: auto;
3741
bottom: 100%;
@@ -42,4 +46,3 @@
4246
width: 18em; //15em; ?
4347
}
4448
}
45-

0 commit comments

Comments
 (0)