Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

focus-trap-react

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

focus-trap-react - npm Package Versions

1
7

8.11.1

Diff

Changelog

Source

8.11.1

Patch Changes

  • 040813a: Bumps focus-trap to v6.9.1 to pick-up a fix to tabbable in v5.3.2 regarding the displayCheck=full (default) option behavior that caused issues with detached nodes.
stefcameron
published 8.11.0 •

Changelog

Source

8.11.0

Minor Changes

  • 7495680: Bump focus-trap to v6.9.0 to get bug fixes and new features to help fix some bugs.

Patch Changes

  • 7495680: Fix onDeactivate, onPostDeactivate, and checkCanReturnFocus options not being called consistently on deactivation.
  • 7495680: Fix focus not being allowed to remain on outside node post-deactivation when clickOutsideDeactivates is true or returns true.
stefcameron
published 8.10.0 •

Changelog

Source

8.10.0

Minor Changes

  • 659d44e: Bumps focus-trap to v6.8.1. The big new feature is opt-in Shadow DOM support in focus-trap (in tabbable), and new tabbable options exposed in a new focusTrapOptions.tabbableOptions configuration option.
    • ⚠️ This will likely break your tests if you're using JSDom (e.g. with Jest). See testing in JSDom for more info.
stefcameron
published 8.9.2 •

Changelog

Source

8.9.2

Patch Changes

  • 83e283c: Update focus-trap to v6.7.3 for bug fix related to elements with a negative tabindex.
stefcameron
published 8.9.1 •

Changelog

Source

8.9.1

Patch Changes

  • 3eb9421: Bump focus-trap to v6.7.2 for bug fix.
stefcameron
published 8.9.0 •

Changelog

Source

8.9.0

Minor Changes

  • 83097a5: Delay trap creation until it should be active. This is a change in behavior, however it should not break existing behavior. The delay now allows you to set active=false until you have the focusTrapOptions set correctly. #539

Patch Changes

  • 16d1ae1: Fix bug where global document was being accessed instead of first checking for focusTrapOptions.document option. #539
stefcameron
published 8.8.2 •

Changelog

Source

8.8.2

Patch Changes

  • 08a9449: Use preventScroll option on deactivation if returning focus.
stefcameron
published 8.8.1 •

Changelog

Source

8.8.1

Patch Changes

  • a2806a0: Fix SSR issues when accessing document object (#482)
stefcameron
published 8.8.0 •

Changelog

Source

8.8.0

Minor Changes

  • c8e46c2: Support new document option introduced in focus-trap v6.7.0 (#460)
  • 5ee587c: Bump focus-trap dependency to v6.7.1
stefcameron
published 8.7.1 •

Changelog

Source

8.7.1

Patch Changes

  • 111a27f: Update focus-trap to v6.6.1, to get tabbable at v5.2.1, to get bug fix for disabled fieldsets.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc