Socket
Socket
Sign inDemoInstall

focus-trap

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

focus-trap - npm Package Versions

13
9

7.3.1

Diff

Changelog

Source

7.3.1

Patch Changes

  • a00cfa5: Bump tabbable to v6.1.1 for JSDom fixes
stefcameron
published 7.3.0 •

Changelog

Source

7.3.0

Minor Changes

  • ae7129d: Bump tabbable to v6.1.0 adding support for the new HTML inert attribute in browsers that support it (NOTE: FireFox does not support it at this time). Also fixes a bug. See tabbable CHANGELOG for more info.

Patch Changes

  • a27ad58: Fix incorrect behavior of returnFocusOnDeactivate option when set to true (or defaulted to true) along with clickOutsideDeactivates=true and the outside click that deactivates is on a focusable node. Focus was remaining on that node instead of returning to the node focused just prior to activation. (#893)
stefcameron
published 7.2.1-tabbable-i905.2 •

stefcameron
published 7.2.1-tabbable-i905.1 •

stefcameron
published 7.2.1-tabbable-i905.0 •

stefcameron
published 7.2.0 •

Changelog

Source

7.2.0

Minor Changes

  • b0482af: Add new isKeyForward() and isKeyBackward() options (#612)
stefcameron
published 7.1.0 •

Changelog

Source

7.1.0

Minor Changes

  • 88cc9bc: Provide new trapStack option to make it possible to coordinate auto-activation/pausing between multiple focus-trap instances on the same page.

Patch Changes

  • 4f97b38: Bump tabbable to v6.0.1 for a bug fix. See tabbable's changelog for more details.
  • f13de76: Mention special Safari setting to enable normal DOM-based tab order in README. #783
stefcameron
published 7.0.0 •

Changelog

Source

7.0.0

Major Changes

  • 5b64423: Revised and clarified official browser support (still as broad and deep as reasonably possible).
  • 47f62ac: 🚨 Breaking: Tabbable dependency has been updated to v6.0.0 and contains a breaking change related to detached nodes with its default displayCheck setting. See tabbable's changelog for more information.
  • 5b64423: 🚨 Breaking: Dropped support of IE browsers, all versions.
    • IE11 was officially retired on June 15, 2022 (6 weeks ago). There are no longer any versions of IE that are still maintained or even supported by Microsoft.
stefcameron
published 6.9.4 •

Changelog

Source

6.9.4

Patch Changes

  • f68882e: Fix docs and typings to clarify that initialFocus, fallbackFocus, and setReturnFocus options can be functions that also return selector strings.
stefcameron
published 6.9.3 •

Changelog

Source

6.9.3

Patch Changes

  • 8a8b1f1: Bump tabbable to v5.3.3 to pick up a small bug fix to web component (shadow DOM) support.
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