Skip to content

Releases: focus-trap/focus-trap-react

v12.0.1

25 Apr 18:40
95347d3

Choose a tag to compare

Patch Changes

  • 93c93e9: Update focus-trap dependency to 8.1.0 for new lifecycle hook improvements (onActivate, etc).

v12.0.0

29 Jan 16:56
932495b

Choose a tag to compare

Major Changes

  • 763eae4: BREAKING: Updated focus-trap dependency to v8.0.0. The breaking change is that onPostActivate() is now correctly called after the initial focus node is focused (it was previously called before due to a bug with the initial focus delay). See the focus-trap changelog for more details.

v11.0.6

11 Jan 00:31
42f0bd5

Choose a tag to compare

Patch Changes

  • c0bd275: Bump focus-trap to 7.8.0 for new aria-hidden support in isolateSubtrees option and bug fix related to trapStack option

v11.0.5

07 Jan 17:41
dc14dca

Choose a tag to compare

Patch Changes

  • 01712b0: Update focus-trap dependency to 7.6.6 and tabbable to 6.3.0 to get a new displayCheck option in tabbable.
  • 0f8db7c: Bump tabbable to 6.4.0 and focus-trap to 7.7.1 for improved inert handling

v11.0.4

28 May 01:32
0422a21

Choose a tag to compare

Patch Changes

  • 346e41d: Bump focus-trap to v7.6.5 for shadow DOM bug fix

v11.0.3

13 Jan 11:48
d68963d

Choose a tag to compare

Patch Changes

  • 095b3d4: Bump focus-trap dependency to v7.6.4 to get fix to manually-paused traps (see focus-trap|1340 for more info)

v11.0.2

31 Dec 16:25
b006d73

Choose a tag to compare

Patch Changes

  • e766841: Fix deprecation warning in React 19 when accessing ref the pre-v19 way

v11.0.1

12 Dec 16:15
c756daf

Choose a tag to compare

Patch Changes

  • cd75caa: Fix missing default export in typings; props no longer extend React.AllHTMLAttributes<any> to allow things like className (those extra props have always been ignored anyway); deprecate default export; add named export in code (#1396)

v11.0.0

07 Dec 20:50
06e856c

Choose a tag to compare

Major Changes

  • 4a37dae: Dropping propTypes and defaultProps no longer supported by React 19 and long deprecated in React 18 (going forward, use TypeScript for prop typings, and if necessary, a runtime library to validate props); Increasing minimum supported React version up to >=18; Bumping focus-trap dependency to v7.6.2

v10.3.1

10 Nov 20:47
fd11f4e

Choose a tag to compare

Patch Changes

  • ee62d91: Bump focus-trap to v7.6.1