From 8a884b446d78008a610678b9a6b3a7869f87e807 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 10 Mar 2018 11:26:29 -0800 Subject: [PATCH] Improve scrolling behavior Prevent scrolling in the sidebar/ content area scrolling the other section when the boundary of a scrolling area is reached. https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-behavior --- app/components/Scrollable/Scrollable.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/components/Scrollable/Scrollable.js b/app/components/Scrollable/Scrollable.js index 536c2a24..ad88f438 100644 --- a/app/components/Scrollable/Scrollable.js +++ b/app/components/Scrollable/Scrollable.js @@ -5,6 +5,7 @@ const Scrollable = styled.div` height: 100%; overflow-y: auto; overflow-x: hidden; + overscroll-behavior: none; -webkit-overflow-scrolling: touch; `;