focus-trap-react
Advanced tools
Changelog
8.7.1
Changelog
8.7.0
focus-trap@6.6.0
including initialFocus
which can now be false to prevent initial focus, and escapeDeactivates
which can now alternately be a function that returns a boolean instead of a straight boolean.Changelog
8.6.0
checkCanFocusTrap()
, onPostActivate()
, checkCanReturnFocus()
, and onPostDeactivate()
.setReturnFocus
option that had thus far been ignored, with focus-trap-react always returning focus to the previously-focused element prior to activation regardless of the use of the setReturnFocus
option. The option is now respected the same as it is when using focus-trap directly.Changelog
8.5.1
Changelog
8.5.0
Changelog
8.4.2
Changelog
8.4.1
Changelog
8.3.2
focus-trap
dependency to new patch release v6.2.2 for bug fix to multi-container traps.