Explorar el Código

feat(handsontable): 恢复默认滚动

wupeixin hace 3 años
padre
commit
ac42ac63b5
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      handsontable/src/3rdparty/walkontable/src/overlays.js

+ 1 - 2
handsontable/src/3rdparty/walkontable/src/overlays.js

@@ -249,8 +249,7 @@ class Overlays {
           (overlay === 'left' && deltaX !== 0) ||
           (overlay === 'bottom' && deltaY !== 0) ||
           ((overlay === 'topLeft' || overlay === 'bottomLeft') && (deltaY !== 0 || deltaX !== 0))) {
-
-          // event.preventDefault();
+          event.preventDefault();
         }
       }]);
     }