New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

react-focus-trap

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-focus-trap - npm Package Versions

nhunzaker
published 1.0.1 •

Changelog

Source

1.0.1

  • Fixes a case where the onExit callback was invoked without it being defined
nhunzaker
published 1.0.0 •

Changelog

Source

1.0.0

  • react-focus-trap is now active by default. This component is used in many settings where it is not a modal. In the case of modals, active is typically assigned as a dynamic prop anyway.
  • The onExit property is no longer required.

Upgrading

active is now true by default. Please verify that this does not conflict with your configuration settings (although our experience has shown this never to be the case).

nhunzaker
published 0.8.0 •

Changelog

Source

0.8.0

  • Updated dependencies
nhunzaker
published 0.7.0 •

Changelog

Source

0.7.0

  • Updated build process
nhunzaker
published 0.7.0-alpha •

nhunzaker
published 0.6.1 •

Changelog

Source

0.6.1

  • Fixes cases when more than one FocusTrap is activated
nhunzaker
published 0.6.0 •

Changelog

Source

0.6.0

  • Breaking change: Update the way class names are built. They will now be based upon the className provided to the <FocusTrap />
nhunzaker
published 0.5.2 •

nhunzaker
published 0.5.1 •

nhunzaker
published 0.5.0 •

Changelog

Source

0.5.0

  • Addresses some issues with screen readers after conducting testing with VoiceOver