@enact/spotlight
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -5,2 +5,9 @@ # Change Log | ||
## [1.3.1] - 2017-06-14 | ||
### Fixed | ||
- `spotlight` incorrectly focusing components within spotlight containers with `data-container-disabled` set to `false` | ||
- `spotlight` failing to focus the default element configured for a container | ||
## [1.3.0] - 2017-06-12 | ||
@@ -7,0 +14,0 @@ |
{ | ||
"name": "@enact/spotlight", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "A focus management library", | ||
@@ -24,3 +24,3 @@ "main": "src/spotlight.js", | ||
"dependencies": { | ||
"@enact/core": "^1.3.0", | ||
"@enact/core": "^1.3.1", | ||
"prop-types": "~15.5.0", | ||
@@ -27,0 +27,0 @@ "ramda": "~0.23.0", |
@@ -534,3 +534,3 @@ 'use strict'; | ||
var containerNode = getContainerNode(containerId); | ||
if (containerNode !== document && containerNode.dataset.containerDisabled) { | ||
if (containerNode !== document && containerNode.dataset.containerDisabled === 'true') { | ||
return false; | ||
@@ -648,3 +648,3 @@ } | ||
var enterLast = config.enterTo === 'last-focused'; | ||
var enterDefault = config.enterTo === 'defaultElement'; | ||
var enterDefault = config.enterTo === 'default-element'; | ||
var next = void 0; | ||
@@ -651,0 +651,0 @@ |
@@ -251,3 +251,3 @@ 'use strict'; | ||
(0, _container10.configureContainer)('grid', { | ||
enterTo: 'defaultElement', | ||
enterTo: 'default-element', | ||
defaultElement: '#bottom-right' | ||
@@ -444,3 +444,3 @@ }); | ||
(0, _container10.configureContainer)('grid', { | ||
enterTo: 'defaultElement', | ||
enterTo: 'default-element', | ||
defaultElement: '#bottom-right' | ||
@@ -447,0 +447,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
199586
Updated@enact/core@^1.3.1