@taocompany/magic-grid 0.13.6 → 0.13.7

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/dist/index.es.js CHANGED
@@ -5602,6 +5602,7 @@ var tm = class {
5602
5602
  e.preventDefault(), e.stopPropagation(), this.stopEditing(!0);
5603
5603
  } else if (e.key === "Escape") e.preventDefault(), e.stopPropagation(), this.stopEditing(!1);
5604
5604
  else if (e.key === "Tab") {
5605
+ if (this.keyboardPolicy.suppressTabNavigation === !0) return;
5605
5606
  e.preventDefault(), e.stopPropagation();
5606
5607
  let t = this.onTab, n = e.shiftKey;
5607
5608
  this.stopEditing(!0).then((e) => {
@@ -5966,7 +5967,9 @@ var xm = class {
5966
5967
  return;
5967
5968
  }
5968
5969
  if (e.key === "Tab") {
5969
- e.preventDefault(), e.stopPropagation(), this.navigateRowTab(e.shiftKey, this.resolveColIdFromEvent(e));
5970
+ let t = this.resolveColIdFromEvent(e);
5971
+ if ((t ? this.editing?.cells.get(t) : void 0)?.keyboardPolicy.suppressTabNavigation === !0) return;
5972
+ e.preventDefault(), e.stopPropagation(), this.navigateRowTab(e.shiftKey, t);
5970
5973
  return;
5971
5974
  }
5972
5975
  if (e.key === "Enter") {