react-focus-lock
Advanced tools
Comparing version 1.8.0 to 1.8.1
@@ -19,2 +19,4 @@ 'use strict'; | ||
var _focusLock = require('focus-lock'); | ||
var _Trap = require('./Trap'); | ||
@@ -26,4 +28,2 @@ | ||
var _focusLock = require('focus-lock'); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -132,3 +132,3 @@ | ||
var lockProps = (_lockProps = {}, _defineProperty(_lockProps, _focusLock.constants.FOCUS_DISABLED, disabled && "disabled"), _defineProperty(_lockProps, _focusLock.constants.FOCUS_GROUP, group), _lockProps); | ||
var lockProps = (_lockProps = {}, _defineProperty(_lockProps, _focusLock.constants.FOCUS_DISABLED, disabled && 'disabled'), _defineProperty(_lockProps, _focusLock.constants.FOCUS_GROUP, group), _lockProps); | ||
@@ -135,0 +135,0 @@ return _react2.default.createElement( |
{ | ||
"name": "react-focus-lock", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"description": "It is a trap! (for a focus)", | ||
@@ -73,3 +73,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"focus-lock": "^0.2.0", | ||
"focus-lock": "^0.2.1", | ||
"prop-types": "^15.0.0", | ||
@@ -76,0 +76,0 @@ "react-side-effect": "^1.1.3" |
@@ -65,2 +65,6 @@ # react-focus-lock | ||
### Focusing in OSX (Safary/FireFox) is strange! | ||
By default `tabbing` in OSX `sees` only control, but not links or anything else `tabbable`. This is system settings, and Safary/FireFox obey. | ||
Press Option+Tab in Safary to loop across all tabbables, or change the Safary settings. There is no way to _fix_ FireFox, unless change system settings (Control+F7). See [this issue](https://github.com/theKashey/react-focus-lock/issues/24) for more information. | ||
You can use nested Locks or have more than one Lock on the page. | ||
@@ -67,0 +71,0 @@ Only `last`, or `deepest` one will work. No fighting. |
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
39720
122
Updatedfocus-lock@^0.2.1