(core) Disable overscroll in gridview

Summary:
This blocks browser back/forward trackpad gestures from unintentionally
triggering when the cursor is over an overflown gridview. The gestures
are still allowed elsewhere in the UI, as well as in gridviews that have
not overflown.

Test Plan: Tested manually.

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D3474
This commit is contained in:
George Gevoian 2022-06-07 20:41:34 -07:00
parent e5e361808b
commit 983638a5c5

View File

@ -19,6 +19,7 @@
height: 100%; height: 100%;
width: 100%; width: 100%;
overflow: auto; overflow: auto;
overscroll-behavior: none;
z-index: 2; /* scrollbar should be over the overlay background */ z-index: 2; /* scrollbar should be over the overlay background */
border-top: 1px solid lightgrey; border-top: 1px solid lightgrey;