[Improvement] Tab: scroll to corrent position when sticky & tab change (#389)

This commit is contained in:
neverland
2017-12-07 15:28:27 +08:00
committed by GitHub
parent 0d64d5ea49
commit d6c6e9d742
3 changed files with 16 additions and 7 deletions

View File

@@ -73,11 +73,12 @@ $van-tabs-card-height: 28px;
.van-tabs__nav {
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
&::-webkit-scrollbar {
display: none;
background-color: transparent;
background: transparent;
}
}
}