react-focus-lock
Advanced tools
Comparing version 1.10.0 to 1.11.0
{ | ||
"name": "react-focus-lock", | ||
"version": "1.10.0", | ||
"version": "1.11.0", | ||
"description": "It is a trap! (for a focus)", | ||
@@ -74,3 +74,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"focus-lock": "^0.2.4", | ||
"focus-lock": "^0.3.0", | ||
"prop-types": "^15.0.0", | ||
@@ -77,0 +77,0 @@ "react-side-effect": "^1.1.3" |
@@ -47,4 +47,7 @@ <div align="left"> | ||
``` | ||
Demo - https://codesandbox.io/s/5wmrwlvxv4. To be honest - you dont need that demo. Focus lock just works. Always. | ||
Demo - https://codesandbox.io/s/5wmrwlvxv4. | ||
That is actually not enough, as long it is better to "shadow" rest of the page, to make it unclickable or | ||
unscrollable. And there is [react-locky](https://github.com/theKashey/react-locky) to do this job. | ||
# WHY? | ||
@@ -51,0 +54,0 @@ From [MDN Article about accessible dialogs](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_dialog_role): |
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
70103
150
+ Addedfocus-lock@0.3.0(transitive)
- Removedfocus-lock@0.2.4(transitive)
Updatedfocus-lock@^0.3.0