focus-trap
Advanced tools
Changelog
6.9.4
Changelog
6.9.3
Changelog
6.9.2
initialFocus
, fallbackFocus
, and setReturnFocus
options: Ignore and perform default behavior.Changelog
6.9.1
displayCheck=full
(default) option behavior that caused issues with detached nodes.Changelog
6.9.0
trap.active
and trap.paused
readonly state properties on the trap so that the trap's active/paused state can be queried.clickOutsideDeactivate
handler would get called on the 'click' event even if the node clicked was in the trap. As with 'mousedown' and 'touchstart' events where this option is also used, the handler should only get called if the target node is outside the trap.trap.deactivate({...})
with an option set even if that option set didn't specify any overrides of these options.Changelog
6.8.1
^5.3.1
(fixing previous update which was incorrectly set to 5.3.0
).tabbableOptions
not being used in all internal uses of tabbable APIs.displayCheck
option in tabbableOptions
typings and pass it through to tabbable APIs.Changelog
6.8.0
getShadowRoot
tabbable option exposed in a new tabbableOptions
focus-trap config option.
Changelog
6.8.0-beta.2
getShadowRoot
tabbable option is also passed to focusable()
.v5.3.0-beta.1
Changelog
6.8.0-beta.1
Changelog
6.7.3