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

focus-trap-react

Package Overview
Dependencies
Maintainers
4
Versions
73
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
68

3.0.3

Diff

Changelog

Source

3.0.3

  • Introduce dist/focus-trap-react.js, where src/ now compiles to, since React 15.5+ demands classes, so Babel-compilation. Which is actually a huge overhaul, though in semver it's just a patch.
davidtheclark
published 3.0.2 •

Changelog

Source

3.0.2

  • Fix handling of focusTrapOptions.returnFocusOnDeactivate for React-specific kinks like autoFocus on inputs.
davidtheclark
published 3.0.1 •

Changelog

Source

3.0.1

  • Upgrade focus-trap for important bug fix.
davidtheclark
published 3.0.0 •

Changelog

Source

3.0.0

  • Introduce focusTrapOptions prop (and remove redundancies).
  • Upgrade to focus-trap v2.
davidtheclark
published 2.1.1 •

Changelog

Source

2.1.1

  • Allow React 15 as peer dependency.
davidtheclark
published 2.1.0 •

Changelog

Source

2.1.0

  • Upgrade focus-trap to add escapeDeactivates and clickOutsideDeactivates props.
  • Allow arbitrary props passed through to the element itself.
davidtheclark
published 2.0.1 •

Changelog

Source

2.0.1

  • Move react to peerDependencies and remove react-dom dependency.
davidtheclark
published 2.0.0 •

Changelog

Source

2.0.0

  • Upgrade to React 0.14 and its companion ReactDOM.
davidtheclark
published 1.0.0 •

Changelog

Source

1.0.0

  • Initial release.
davidtheclark
published 0.2.1 •

Changelog

Source

10.2.1

Patch Changes

  • 1d58209: Bump focus-trap to v7.5.2 for Safari-related bug fix with Array.findLast()
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