npm focus-trap 8.2.0
v8.2.0

5 hours ago

Minor Changes

  • 567dbe1: Add new delayReturnFocus option (default true) to control whether return focus and onPostDeactivate are deferred by one frame (#1689).

Patch Changes

  • b70e8d9: Fix bug where removing the ancestor of a focused node within a trap would result in focus landing on the body instead of remaining in the trap (#1660).

Don't miss a new focus-trap release

NewReleases is sending notifications on new releases.