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) {