From a83e1072accf9e8587ddea15e63a151cc155b1a3 Mon Sep 17 00:00:00 2001 From: mebtte Date: Mon, 27 Nov 2023 16:19:44 +0800 Subject: [PATCH] update readme --- README.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 31d2b4c..5d4e788 100644 --- a/README.md +++ b/README.md @@ -104,11 +104,9 @@ const Demo = () => { ### How to prevent user scroll ? ```jsx - +const style = { overflow: 'hidden !important' }; + +; ``` ### How to hide scrollbar ? @@ -123,9 +121,6 @@ const Demo = () => { /* firefox */ scrollbar-width: none; - - /* ie */ - -ms-overflow-style: none; } ```