react-focus-lock
                                
                                
                                
                                    react-focus-lock copied to clipboard
                            
                            
                            
                        It is a trap! A lock for a Focus. 🔓
This PR migrates the code to TypeScript. I kept Babel for compilation to keep it small. There were a couple of type mismatches that I believe are bugs: - https://github.com/theKashey/react-focus-lock/blob/master/src/Trap.js#L169...
Hello! In our projects, we have a component library, which is written in web components. That is later wrapped with a react wrapper, in order to support React applications. When...
 Snyk has created this PR to upgrade react-clientside-effect from 1.2.7 to 1.2.8. :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly...
## Issue Description When using `react-focus-lock` (version 2.13.5) with props shards and rendering a dialog wrapped in a component with `tabIndex="-1"`, the focus lock incorrectly includes the wrapper in the...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.4.1 to 5.2.1. Release notes Sourced from webpack-dev-server's releases. v5.2.1 5.2.1 (2025-03-26) Security cross-origin requests are not allowed unless allowed by Access-Control-Allow-Origin header requests with an IP...
## Issue Description When using `react-focus-lock`, the focus navigation within a dialog breaks when a focusable component that displays the dialog is wrapped in a component with `tabIndex="-1"`, and the...
The content of FocusLock that opened inside of shadow root or iframe is not available for user-selection. How to reproduce: 1. Open the demo sandbox (with iframe) https://codesandbox.io/p/devbox/focus-lock-with-modal-forked-vmr9sl?workspaceId=ws_BCJDEdyBHvVP9ekjRYa7KV 2. Click...
 ### Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project. #### Snyk changed the following file(s): - `package.json` - `yarn.lock` #### Note...
 Snyk has created this PR to upgrade preact from 10.0.0-beta.1 to 10.26.5. :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly...