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