Skip to content

Commit 681a379

Browse files
committed
Contain scrolling within dropdown popover
1 parent 92e24fa commit 681a379

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

components/dash-core-components/src/components/css/datepickers.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@
143143
z-index: 500;
144144
box-shadow: 0px 10px 38px -10px var(--Dash-Shading-Strong),
145145
0px 10px 20px -15px var(--Dash-Shading-Weak);
146+
overscroll-behavior: contain;
146147
}
147148

148149
.dash-datepicker-calendar-wrapper {

components/dash-core-components/src/components/css/dropdown.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
z-index: 500;
8585
box-shadow: 0px 10px 38px -10px var(--Dash-Shading-Strong),
8686
0px 10px 20px -15px var(--Dash-Shading-Weak);
87+
overscroll-behavior: contain;
8788
}
8889

8990
.dash-dropdown-value-count,

0 commit comments

Comments
 (0)