perf(Tab): improve scrolling (#2606)

fix #2506
This commit is contained in:
rex 2019-12-26 16:16:57 +08:00 committed by GitHub
parent 36bf4762eb
commit 954bb21d40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,7 @@
.van-tab__pane {
box-sizing: border-box;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
&--active {
height: auto;