Browse Source

Merge branch 'v2-dev' of https://github.com/jdf2e/nutui into v2-dev

yumingming11 5 years ago
parent
commit
5f2fb9f039
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/packages/popup/popup.vue

+ 1 - 1
src/packages/popup/popup.vue

@@ -162,7 +162,7 @@ export default {
       const { scrollHeight, offsetHeight, scrollTop } = el ? el : this.$el;
       const { scrollHeight, offsetHeight, scrollTop } = el ? el : this.$el;
 
 
       if ((this.deltaY > 0 && scrollTop === 0) || (this.deltaY < 0 && scrollTop + offsetHeight >= scrollHeight)) {
       if ((this.deltaY > 0 && scrollTop === 0) || (this.deltaY < 0 && scrollTop + offsetHeight >= scrollHeight)) {
-        //event.preventDefault();
+        event.preventDefault();
       }
       }
     },
     },
     getScroller(el) {
     getScroller(el) {