From 3e18fc15375e061b5c1d0eaff6da73122107355e Mon Sep 17 00:00:00 2001 From: Jean Dessane Date: Thu, 11 Aug 2022 17:37:26 +0200 Subject: [PATCH] improve drawer --- src/Drawer/Drawer.style.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Drawer/Drawer.style.ts b/src/Drawer/Drawer.style.ts index e3cca5035..1728f8264 100644 --- a/src/Drawer/Drawer.style.ts +++ b/src/Drawer/Drawer.style.ts @@ -7,7 +7,9 @@ import { theme } from '../theme' export const RemoveRefresh = createGlobalStyle` html, body { - overscroll-behavior-y: contain; + overscroll-behavior-y: none; + position: fixed; + overflow: hidden; } `