From 58be54911b78cd0836915a1aa2a7019942f9049e Mon Sep 17 00:00:00 2001 From: yutent Date: Fri, 7 Apr 2023 10:46:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96scroll=E7=BB=84=E4=BB=B6,=20?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=8A=A8=E6=80=81=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scroll/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/scroll/index.js b/src/scroll/index.js index 46229a5..99bec02 100644 --- a/src/scroll/index.js +++ b/src/scroll/index.js @@ -26,6 +26,7 @@ class Scroll extends Component { position: relative; width: 100%; height: 100%; + max-height: inherit; } .wrapper { @@ -33,6 +34,7 @@ class Scroll extends Component { scrollbar-width: none; width: 100%; height: 100%; + max-height: inherit; scrollbar-width: 0; &::-webkit-scrollbar { @@ -232,6 +234,8 @@ class Scroll extends Component { } else { this.$refs.y.parentNode.style.display = 'none' } + + // this.$requestUpdate() } _fetchScrollX(moveX) {