Skip to content

Commit d489f89

Browse files
committed
grid.Container & View: disable overscrolling on mobile #6202
1 parent c0cb11f commit d489f89

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

resources/scss/src/grid/Container.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
.neo-grid-wrapper {
2-
overflow-x: auto;
3-
overflow-y: hidden;
4-
position : relative;
2+
overflow-anchor : none;
3+
overflow-x : auto;
4+
overflow-y : hidden;
5+
overscroll-behavior: none;
6+
position : relative;
57
}
68

79
.neo-grid-container {

resources/scss/src/grid/View.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
.neo-grid-view-wrapper {
2-
height : 100%;
3-
overflow-x: hidden;
4-
overflow-y: auto;
5-
position : relative;
2+
height : 100%;
3+
overflow-anchor: none;
4+
overflow-x : hidden;
5+
overflow-y : auto;
6+
position : relative;
67

78
.neo-grid-scrollbar {
89
height : 1px;

0 commit comments

Comments
 (0)