handsontable 0.0.0-next-0c2e6f8-20221206 → 0.0.0-next-c3a3b3c-20221206

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of handsontable might be problematic. Click here for more details.

package/editorManager.js CHANGED
@@ -18,7 +18,6 @@ require("core-js/modules/es.weak-map.js");
18
18
  require("core-js/modules/web.dom-collections.iterator.js");
19
19
  var _unicode = require("./helpers/unicode");
20
20
  var _event = require("./helpers/dom/event");
21
- var _element = require("./helpers/dom/element");
22
21
  var _registry = require("./editors/registry");
23
22
  var _eventManager = _interopRequireDefault(require("./eventManager"));
24
23
  var _mixed = require("./helpers/mixed");
@@ -252,12 +251,10 @@ var EditorManager = /*#__PURE__*/function () {
252
251
  // Getting values using the modified coordinates.
253
252
  this.cellProperties = this.instance.getCellMeta(visualRowToCheck, visualColumnToCheck);
254
253
  var activeElement = this.instance.rootDocument.activeElement;
255
-
256
- // Blurring the `activeElement` removes the unwanted border around the focusable element (#6877)
257
- // and resets the `document.activeElement` property. The blurring should happen only when the
258
- // previously selected input element has not belonged to the Handsontable editor. If blurring is
259
- // triggered for all elements, there is a problem with the disappearing IME editor (#9672).
260
- if (activeElement && (0, _element.isOutsideInput)(activeElement)) {
254
+ if (activeElement) {
255
+ // Blurring the activeElement removes unwanted border around the focusable element
256
+ // (and resets activeElement prop). Without blurring the activeElement points to the
257
+ // previously focusable element after clicking onto the cell (#6877).
261
258
  activeElement.blur();
262
259
  }
263
260
  if (!this.isCellEditable()) {
package/editorManager.mjs CHANGED
@@ -23,7 +23,6 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
23
23
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
24
24
  import { isFunctionKey, isCtrlMetaKey } from "./helpers/unicode.mjs";
25
25
  import { stopImmediatePropagation } from "./helpers/dom/event.mjs";
26
- import { isOutsideInput } from "./helpers/dom/element.mjs";
27
26
  import { getEditorInstance } from "./editors/registry.mjs";
28
27
  import EventManager from "./eventManager.mjs";
29
28
  import { isDefined } from "./helpers/mixed.mjs";
@@ -245,12 +244,10 @@ var EditorManager = /*#__PURE__*/function () {
245
244
  // Getting values using the modified coordinates.
246
245
  this.cellProperties = this.instance.getCellMeta(visualRowToCheck, visualColumnToCheck);
247
246
  var activeElement = this.instance.rootDocument.activeElement;
248
-
249
- // Blurring the `activeElement` removes the unwanted border around the focusable element (#6877)
250
- // and resets the `document.activeElement` property. The blurring should happen only when the
251
- // previously selected input element has not belonged to the Handsontable editor. If blurring is
252
- // triggered for all elements, there is a problem with the disappearing IME editor (#9672).
253
- if (activeElement && isOutsideInput(activeElement)) {
247
+ if (activeElement) {
248
+ // Blurring the activeElement removes unwanted border around the focusable element
249
+ // (and resets activeElement prop). Without blurring the activeElement points to the
250
+ // previously focusable element after clicking onto the cell (#6877).
254
251
  activeElement.blur();
255
252
  }
256
253
  if (!this.isCellEditable()) {
package/helpers/mixed.js CHANGED
@@ -152,7 +152,7 @@ var domMessages = {
152
152
  function _injectProductInfo(key, element) {
153
153
  var hasValidType = !isEmpty(key);
154
154
  var isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
155
- var hotVersion = "0.0.0-next-0c2e6f8-20221206";
155
+ var hotVersion = "0.0.0-next-c3a3b3c-20221206";
156
156
  var keyValidityDate;
157
157
  var consoleMessageState = 'invalid';
158
158
  var domMessageState = 'invalid';
package/helpers/mixed.mjs CHANGED
@@ -142,7 +142,7 @@ var domMessages = {
142
142
  export function _injectProductInfo(key, element) {
143
143
  var hasValidType = !isEmpty(key);
144
144
  var isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
145
- var hotVersion = "0.0.0-next-0c2e6f8-20221206";
145
+ var hotVersion = "0.0.0-next-c3a3b3c-20221206";
146
146
  var keyValidityDate;
147
147
  var consoleMessageState = 'invalid';
148
148
  var domMessageState = 'invalid';
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "url": "https://github.com/handsontable/handsontable/issues"
11
11
  },
12
12
  "author": "Handsoncode <hello@handsontable.com>",
13
- "version": "0.0.0-next-0c2e6f8-20221206",
13
+ "version": "0.0.0-next-c3a3b3c-20221206",
14
14
  "main": "index",
15
15
  "module": "index.mjs",
16
16
  "jsnext:main": "index.mjs",