@enact/spotlight 4.1.0 → 4.1.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  The following is a curated list of changes in the Enact spotlight module, newest changes on the top.
4
4
 
5
+ ## [4.1.1] - 2021-11-30
6
+
7
+ No significant changes.
8
+
5
9
  ## [4.1.0] - 2021-11-04
6
10
 
7
11
  ### Fixed
@@ -206,13 +206,14 @@ var SpotlightRootDecorator = (0, _hoc["default"])(defaultConfig, function (confi
206
206
 
207
207
  _spotlight["default"].set(_container.rootContainerId, {
208
208
  overflow: true
209
- });
210
- } // Sometimes the focusin event is fired before componentDidMount.
209
+ }); // Sometimes the focusin event is fired before componentDidMount.
210
+
211
211
 
212
+ document.addEventListener('focusin', _this.handleFocusInBeforeMount, {
213
+ capture: true
214
+ });
215
+ }
212
216
 
213
- document.addEventListener('focusin', _this.handleFocusInBeforeMount, {
214
- capture: true
215
- });
216
217
  return _this;
217
218
  }
218
219
 
@@ -237,12 +238,11 @@ var SpotlightRootDecorator = (0, _hoc["default"])(defaultConfig, function (confi
237
238
  document.addEventListener('pointerover', this.handlePointerOver, {
238
239
  capture: true
239
240
  });
241
+ document.removeEventListener('focusin', this.handleFocusInBeforeMount, {
242
+ capture: true
243
+ });
240
244
  }
241
245
 
242
- document.removeEventListener('focusin', this.handleFocusInBeforeMount, {
243
- capture: true
244
- });
245
-
246
246
  if (this.hasFocusedIn) {
247
247
  this.hasFocusedIn = false;
248
248
  this.handleFocusIn();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enact/spotlight",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "A focus management library",
5
5
  "main": "src/spotlight.js",
6
6
  "scripts": {
@@ -18,7 +18,7 @@
18
18
  }
19
19
  },
20
20
  "dependencies": {
21
- "@enact/core": "^4.1.0",
21
+ "@enact/core": "^4.1.1",
22
22
  "classnames": "^2.2.6",
23
23
  "prop-types": "^15.7.2",
24
24
  "ramda": "^0.24.1",