Skip to content

Releases: focus-trap/focus-trap-react

v8.7.1

14 Aug 17:33
221d433
Compare
Choose a tag to compare

Patch Changes

  • 111a27f: Update focus-trap to v6.6.1, to get tabbable at v5.2.1, to get bug fix for disabled fieldsets.

v8.7.0

03 Jul 22:00
251f19f
Compare
Choose a tag to compare

Minor Changes

  • 7fbe8ca: Update to support new features in [email protected] including initialFocus which can now be false to prevent initial focus, and escapeDeactivates which can now alternately be a function that returns a boolean instead of a straight boolean.

v8.6.0

19 Jun 16:02
3e46f82
Compare
Choose a tag to compare

Minor Changes

  • 5292ae8:
    • Adding support for new focus-trap options from focus-trap v6.5.0: checkCanFocusTrap(), onPostActivate(), checkCanReturnFocus(), and onPostDeactivate().
    • Adding support (bug fix) for existing focus-trap setReturnFocus option that had thus far been ignored, with focus-trap-react always returning focus to the previously-focused element prior to activation regardless of the use of the setReturnFocus option. The option is now respected the same as it is when using focus-trap directly.

Patch Changes

  • 24704c7: Bump focus-trap dependency to 6.5.1 for bug fix to onPostDeactivate.

v8.5.1

08 Jun 18:37
9ff5cf5
Compare
Choose a tag to compare

Patch Changes

  • b8d7071: Bump focus-trap dependency to 6.5.0 to get new features

v8.5.0

21 Apr 19:00
50ae17a
Compare
Choose a tag to compare

Minor Changes

  • 6ee37fb: Bump focus-trap from 6.3.0 to 6.4.0. There should be no changes in behavior as a result of this upgrade.

v8.4.2

06 Feb 23:04
1999c2b
Compare
Choose a tag to compare

Patch Changes

  • f9a6d1a: Throw an error if a Fragment is given as the child container (currently, it appears to work, but the trap is actually not activated because focus-trap can't find the DOM element for the Fragment "container"). (Fixes #268)

v8.4.1

19 Jan 18:14
245074a
Compare
Choose a tag to compare

Patch Changes

  • a4c3105: Update PropTypes for clickOutsideDeactivates to match latest focus-trap.

v8.4.0

16 Jan 22:57
a8b7373
Compare
Choose a tag to compare

Minor Changes

  • 8d58bc8: Bump focus-trap to v6.3.0

v8.3.2

02 Dec 18:12
4e596c3
Compare
Choose a tag to compare

Patch Changes

  • 53fa056: Update focus-trap dependency to new patch release v6.2.2 for bug fix to multi-container traps.

v8.3.1

25 Nov 20:28
a34efe4
Compare
Choose a tag to compare

Patch Changes