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

focus-trap

Package Overview
Dependencies
Maintainers
3
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

focus-trap - npm Package Versions

1
79

2.0.2

Diff

Changelog

Source

2.0.2

  • Fixed: clickOutsideDeactivates no longer triggers deactivation when you click inside the trap.
davidtheclark
published 2.0.1 •

Changelog

Source

2.0.1

  • Fix bug when activating multiple focus traps.
davidtheclark
published 2.0.0 •

Changelog

Source

2.0.0

  • Rewrote the thing, altering the API. Read the new docs please.
  • Update tabbable to fix handling of traps with changing contents.
davidtheclark
published 1.1.1 •

Changelog

Source

1.1.1

  • Improve clickOutsideDeactivates functionality.
davidtheclark
published 1.1.0 •

Changelog

Source

1.1.0

  • Add clickOutsideDeactivates option.
  • Add escapeDeactivates option.
davidtheclark
published 1.0.2 •

Changelog

Source

1.0.2

  • Make sure to select() <input> elements when they receive focus via tab.
davidtheclark
published 1.0.1 •

Changelog

Source

1.0.1

  • Fix buggy attempts to focus nodes that don't exist.
davidtheclark
published 1.0.0 •

Changelog

Source

1.0.0

  • Initial release.
davidtheclark
published 0.3.2 •

davidtheclark
published 0.3.1 •

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