@visactor/vchart 1.13.21 → 1.13.22-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.es.js CHANGED
@@ -64288,7 +64288,7 @@ const registerVChartCore = () => {
64288
64288
  };
64289
64289
  registerVChartCore();
64290
64290
 
64291
- const version = "1.13.21";
64291
+ const version = "1.13.22-alpha.0";
64292
64292
 
64293
64293
  const addVChartProperty = (data, op) => {
64294
64294
  const context = op.beforeCall();
@@ -104735,8 +104735,10 @@ class ScrollPlugin extends BasePlugin {
104735
104735
  };
104736
104736
  this.onWheel = (e) => {
104737
104737
  var _a, _b;
104738
- e.preventDefault();
104739
- e.stopPropagation();
104738
+ if (this._spec.preventDefault !== false) {
104739
+ e.preventDefault();
104740
+ e.stopPropagation();
104741
+ }
104740
104742
  const scrollX = e.deltaX;
104741
104743
  const scrollY = e.deltaY;
104742
104744
  const rootMark = this.getRootMark();
package/build/index.js CHANGED
@@ -64294,7 +64294,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
64294
64294
  };
64295
64295
  registerVChartCore();
64296
64296
 
64297
- const version = "1.13.21";
64297
+ const version = "1.13.22-alpha.0";
64298
64298
 
64299
64299
  const addVChartProperty = (data, op) => {
64300
64300
  const context = op.beforeCall();
@@ -104741,8 +104741,10 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
104741
104741
  };
104742
104742
  this.onWheel = (e) => {
104743
104743
  var _a, _b;
104744
- e.preventDefault();
104745
- e.stopPropagation();
104744
+ if (this._spec.preventDefault !== false) {
104745
+ e.preventDefault();
104746
+ e.stopPropagation();
104747
+ }
104746
104748
  const scrollX = e.deltaX;
104747
104749
  const scrollY = e.deltaY;
104748
104750
  const rootMark = this.getRootMark();