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

react-focus-trap

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-focus-trap - npm Package Versions

234

2.7.2

Diff

Changelog

Source

2.7.2

  • Use index.js for main, fix "Invalid 'main' field" deprecation notice.
nhunzaker
published 2.7.1 •

Changelog

Source

2.7.1

  • The deploy process didn't copy over type definitions
nhunzaker
published 2.7.0 •

Changelog

Source

2.7.0

  • Add TypeScript declarations
  • Remove incorrect production dependency
nhunzaker
published 2.6.0 •

Changelog

Source

2.6.0

  • Eliminate internal focus stack, avoiding a memory leak
nhunzaker
published 2.6.0-beta.0 •

nhunzaker
published 2.5.0 •

Changelog

Source

2.5.0

  • Modernization. Ensure support for React 16.
nhunzaker
published 2.4.0 •

Changelog

Source

2.4.0

  • Switch to class React form to avoid deprecations
  • Remove proptypes to avoid deprecations
nhunzaker
published 2.3.3 •

Changelog

Source

2.3.3

  • Bad release. Properly addresses autofocus.
nhunzaker
published 2.3.2 •

Changelog

Source

2.3.2

  • Do not trap focus if the current active element is inside the container. This resolves issues with the autofocus attribute.
nhunzaker
published 2.3.1 •

Changelog

Source

2.3.1

  • Fix case of missing focus if no element can be found
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