From 983638a5c52abac4a470aab9e57e4576404efed2 Mon Sep 17 00:00:00 2001 From: George Gevoian Date: Tue, 7 Jun 2022 20:41:34 -0700 Subject: [PATCH] (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 --- app/client/components/GridView.css | 1 + 1 file changed, 1 insertion(+) diff --git a/app/client/components/GridView.css b/app/client/components/GridView.css index dd99f6a1..47146162 100644 --- a/app/client/components/GridView.css +++ b/app/client/components/GridView.css @@ -19,6 +19,7 @@ height: 100%; width: 100%; overflow: auto; + overscroll-behavior: none; z-index: 2; /* scrollbar should be over the overlay background */ border-top: 1px solid lightgrey;