Przeglądaj źródła

Table: remove mouse wheel prevent default. (#873)

FuryBean 8 lat temu
rodzic
commit
971150c2fb
1 zmienionych plików z 0 dodań i 4 usunięć
  1. 0 4
      packages/table/src/table.vue

+ 0 - 4
packages/table/src/table.vue

@@ -191,10 +191,6 @@
           if (refs.rightFixedBodyWrapper) refs.rightFixedBodyWrapper.scrollTop = this.scrollTop;
         });
 
-        mousewheel(headerWrapper, function(event) {
-          event.preventDefault();
-        });
-
         mousewheel(headerWrapper, throttle(16, function(event) {
           const deltaX = event.deltaX;