@enact/spotlight 5.3.0 → 5.3.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,12 @@
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
+ ## [5.3.1] - 2025-10-14
6
+
7
+ ### Fixed
8
+
9
+ - `spotlight` navigation from an element to a different container
10
+
5
11
  ## [5.3.0] - 2025-09-24
6
12
 
7
13
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enact/spotlight",
3
- "version": "5.3.0",
3
+ "version": "5.3.1",
4
4
  "description": "A focus management library",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,7 +25,7 @@
25
25
  }
26
26
  },
27
27
  "dependencies": {
28
- "@enact/core": "^5.3.0",
28
+ "@enact/core": "^5.3.1",
29
29
  "classnames": "^2.5.1",
30
30
  "prop-types": "^15.8.1",
31
31
  "ramda": "^0.31.3",
package/src/target.js CHANGED
@@ -287,7 +287,9 @@ function getTargetInContainerByDirectionFromElement(direction, containerId, elem
287
287
 
288
288
  // and it is restricted, return its target
289
289
  if (isRestrictedContainer(nextContainerId)) {
290
- next = getTargetByContainer(nextContainerId);
290
+ return {
291
+ v: getTargetByContainer(nextContainerId)
292
+ };
291
293
  } else {
292
294
  // otherwise, recurse into it
293
295
  next = getTargetInContainerByDirectionFromElement(direction, nextContainerId, element, elementRect, elementContainerIds, getOverflowContainerRect(nextContainerId) || boundingRect);