Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-focus-lock

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-focus-lock - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1

6

dist/Lock.js

@@ -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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc