diff --git a/packages/index-list/src/index-list.vue b/packages/index-list/src/index-list.vue
index 52a93e20..ef24cd05 100644
--- a/packages/index-list/src/index-list.vue
+++ b/packages/index-list/src/index-list.vue
@@ -3,13 +3,13 @@
-
+
-
+
{{ currentIndicator }}
@@ -22,13 +22,13 @@
width: 100%;
position: relative;
overflow: hidden;
-
+
@descendent content {
margin: 0;
padding: 0;
overflow: auto;
}
-
+
@descendent nav {
position: absolute;
top: 0;
@@ -43,7 +43,7 @@
flex-direction: column;
justify-content: center;
}
-
+
@descendent navlist {
padding: 0;
margin: 0;
@@ -52,14 +52,14 @@
display: flex;
flex-direction: column;
}
-
+
@descendent navitem {
padding: 2px 6px;
font-size: 12px;
user-select: none;
-webkit-touch-callout: none;
}
-
+
@descendent indicator {
position: absolute;
size: 50px;
@@ -148,8 +148,12 @@
this.moving = false;
this.currentIndicator = '';
}, 500);
- window.removeEventListener('touchmove', this.handleTouchMove);
- window.removeEventListener('touchend', this.handleTouchEnd);
+ window.removeEventListener('touchmove', this.handleTouchMove, {
+ passive: false
+ });
+ window.removeEventListener('touchend', this.handleTouchEnd, {
+ passive: false
+ });
},
scrollList(y) {