Releases: focus-trap/focus-trap-react
Releases · focus-trap/focus-trap-react
v8.2.0
Minor Changes
- 76ed007: Add ability to pass containerElements to focus-trap #179. This PR is made possible because of focus-trap/focus-trap#217 and the released version 6.2.0 of focus-trap.
v8.1.1
Patch Changes
- 925dfd2: Update the react and react-dom peer dependencies from
^16.0.0
to>=16.0.0
since this library works with React 17 as well as React 16. - 01653da: Fix focus not always returning to correct node after setting
active
prop tofalse
. #139 - 95f8ab6: Update focus-trap dependency from 6.1.2 to 6.1.4. Bug fixes only.
v8.1.0
Minor Changes
- 5994a8c: Bump focus-trap from 6.0.1 to 6.1.0. This new version of focus-trap provides a new
delayInitialFocus
flag that can be used to further customize trap behavior.
Patch Changes
- 0562ef0: Change
prepublishOnly
script toprepare
script so that it also runs if someone installs the package directly from the git repo (e.g. from your work in which you fixed a bug or added a feature you're waiting to get merged to master and published to NPM).