Эх сурвалжийг харах

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

FuryBean 8 жил өмнө
parent
commit
971150c2fb

+ 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;