e-virt-table 1.3.22 → 1.3.23

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
@@ -4993,8 +4993,8 @@ class Be {
4993
4993
  }), this.ctx.on(
4994
4994
  "mousemove",
4995
4995
  bt((t) => {
4996
- var e, i;
4997
- (e = this.ctx.focusCell) != null && e.fixed || (i = this.ctx.focusCellHeader) != null && i.fixed || !this.ctx.dragHeaderIng && this.ctx.selectorMove && this.ctx.startAdjustPosition(t);
4996
+ var e;
4997
+ (e = this.ctx.focusCellHeader) != null && e.fixed || !this.ctx.dragHeaderIng && this.ctx.selectorMove && this.ctx.startAdjustPosition(t);
4998
4998
  }, 100)
4999
4999
  ), this.ctx.on("cellHoverChange", (t) => {
5000
5000
  if (!this.ctx.autofillMove) {
@@ -6815,9 +6815,8 @@ class Oi {
6815
6815
  "F12"
6816
6816
  ].includes(s))
6817
6817
  return;
6818
- const d = document.activeElement === this.inputEl;
6819
- if (!this.ctx.selectOnlyOne || !d) {
6820
- t.preventDefault(), this.inputEl.blur();
6818
+ if (!(document.activeElement === this.inputEl)) {
6819
+ t.preventDefault();
6821
6820
  return;
6822
6821
  }
6823
6822
  this.startEdit(!0);
@@ -6887,7 +6886,7 @@ class Oi {
6887
6886
  }
6888
6887
  }
6889
6888
  focusInput() {
6890
- this.ctx.selectOnlyOne && document.activeElement !== this.inputEl && this.inputEl.focus({ preventScroll: !0 });
6889
+ document.activeElement !== this.inputEl && this.inputEl.focus({ preventScroll: !0 });
6891
6890
  }
6892
6891
  startEdit(t = !1) {
6893
6892
  this.cancel = !1;