ninegrid2 6.421.0 → 6.422.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.
@@ -12823,15 +12823,17 @@ class ngCellManager
12823
12823
 
12824
12824
  if (e.altKey || e.shiftKey || e.ctrlKey) return;
12825
12825
 
12826
- e.preventDefault();
12826
+ //e.preventDefault();
12827
12827
 
12828
12828
  console.log(e);
12829
12829
 
12830
12830
  if (e.originalEvent.deltaY > 0) {
12831
- this.#owner.pageDown();
12831
+ //this.#owner.pageDown();
12832
+ this.#owner.scrollBy(1);
12832
12833
  }
12833
12834
  else {
12834
- this.#owner.pageUp();
12835
+ //this.#owner.pageUp();
12836
+ this.#owner.scrollBy(-1);
12835
12837
  }
12836
12838
  };
12837
12839
 
@@ -12821,15 +12821,17 @@ class ngCellManager
12821
12821
 
12822
12822
  if (e.altKey || e.shiftKey || e.ctrlKey) return;
12823
12823
 
12824
- e.preventDefault();
12824
+ //e.preventDefault();
12825
12825
 
12826
12826
  console.log(e);
12827
12827
 
12828
12828
  if (e.originalEvent.deltaY > 0) {
12829
- this.#owner.pageDown();
12829
+ //this.#owner.pageDown();
12830
+ this.#owner.scrollBy(1);
12830
12831
  }
12831
12832
  else {
12832
- this.#owner.pageUp();
12833
+ //this.#owner.pageUp();
12834
+ this.#owner.scrollBy(-1);
12833
12835
  }
12834
12836
  };
12835
12837
 
@@ -307,15 +307,17 @@ export class ngCellManager
307
307
 
308
308
  if (e.altKey || e.shiftKey || e.ctrlKey) return;
309
309
 
310
- e.preventDefault();
310
+ //e.preventDefault();
311
311
 
312
- console.log(e);
312
+ console.log(e)
313
313
 
314
314
  if (e.originalEvent.deltaY > 0) {
315
- this.#owner.pageDown();
315
+ //this.#owner.pageDown();
316
+ this.#owner.scrollBy(1);
316
317
  }
317
318
  else {
318
- this.#owner.pageUp();
319
+ //this.#owner.pageUp();
320
+ this.#owner.scrollBy(-1);
319
321
  }
320
322
  };
321
323
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.421.0",
4
+ "version": "6.422.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -307,15 +307,17 @@ export class ngCellManager
307
307
 
308
308
  if (e.altKey || e.shiftKey || e.ctrlKey) return;
309
309
 
310
- e.preventDefault();
310
+ //e.preventDefault();
311
311
 
312
- console.log(e);
312
+ console.log(e)
313
313
 
314
314
  if (e.originalEvent.deltaY > 0) {
315
- this.#owner.pageDown();
315
+ //this.#owner.pageDown();
316
+ this.#owner.scrollBy(1);
316
317
  }
317
318
  else {
318
- this.#owner.pageUp();
319
+ //this.#owner.pageUp();
320
+ this.#owner.scrollBy(-1);
319
321
  }
320
322
  };
321
323