react-focus-trap
react-focus-trap copied to clipboard
Traps focus for accessible dropdowns and modal content
Focus trap focuses the `focus-trap` div after I press tab on the last element. I do not need that focus, I want it to jump from the last to the...
When dynamically rendering a component coning a FocusTrap-component this warning gets logged to the console: ``` Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for...
I'm working on a typescript react project where I've installed react-focus-trap via yarn `yarn add react-focus-trap` and I can see into the package.json `"react-focus-trap": "^2.7.1",`. In my code I'm using...
For preventing underlay scrolling on iOS and other behavior, it would be great if `react-focus-trap` exposed a hook for when a focus-trap was visible on the screen
If you open a popup inside of other markup, the event should not bubble up.
It's a good rule of thumb to forward all unrecognized properties that were passed down.
We should really be smoke signal testing focus management, I'd like to use something like Nightmare: http://nightmarejs.org
We loosely have one in the example, but it would be nice to include one in the build
This project can also be used for dropdowns. It would be great to have an example of this.