Skip to content

Commit 426ee77

Browse files
vaadin-botjouni
andauthored
fix: disable date-picker scroller overflow-anchor (#12117) (#12118)
Co-authored-by: Jouni Koivuviita <jouni@vaadin.com>
1 parent fa51925 commit 426ee77

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/date-picker/src/vaadin-infinite-scroller.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ template.innerHTML = `
2020
position: relative;
2121
height: 100%;
2222
overflow: auto;
23+
/* Prevent browser scroll anchoring from overriding the virtual scroll position. */
24+
overflow-anchor: none;
2325
outline: none;
2426
overflow-x: hidden;
2527
scrollbar-width: none;

0 commit comments

Comments
 (0)