Skip to content

Releases: vigetlabs/react-focus-trap

2.5.0

02 Nov 13:19
Compare
Choose a tag to compare
  • Modernization. Ensure support for React 16.

v2.4.0

05 May 21:10
Compare
Choose a tag to compare
  • Switch to class React form to avoid deprecations
  • Remove proptypes to avoid deprecations

v2.3.0

20 Jul 13:57
Compare
Choose a tag to compare
  • Removed "role" attribute from container. Otherwise, screen readers will read this as "Navigation. One item", since there's only one immediate readable child.
  • Fixed deprecation warnings with React 15.x

1.0.1

10 Sep 15:56
Compare
Choose a tag to compare
  • Fixes a case where the onExit callback was invoked without it being defined

Version 1.0.0

10 Sep 14:45
Compare
Choose a tag to compare
  • 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).

Version 0.1.0

15 Apr 15:38
Compare
Choose a tag to compare
  • Added an active property. This is true by default, however allows the FocusTrap to be eliminated if not active