Releases: focus-trap/focus-trap-react
Releases · focus-trap/focus-trap-react
v10.1.2
v10.1.1
v10.1.0
v10.0.2
v10.0.1
v10.0.0
Major Changes
- af69c14: 🚨 Breaking: Underlying
tabbable
dependency has been updated to v6.0.0 and contains a breaking change related to detached nodes with its defaultdisplayCheck
setting. See tabbable's changelog for more information.- The
focus-trap
dependency has also be updated to v7.0.0 but only contains the underlyingtabbable
changes. - The
tabbableOptions.displayCheck
prop type has been updated to include the new "legacy-full" option.
- The
- 018732c: 🚨 Breaking: Dropped support of IE browsers, all versions.
- IE11 was officially retired on June 15, 2022 (6 weeks ago). There are no longer any versions of IE that are still maintained or even supported by Microsoft.
- 018732c: Revised and clarified official browser support (still as broad and deep as reasonably possible).
Patch Changes
- b0bbbd4: Update README with a note about the
children
prop stating that the trap requires a single child, and that if a component is used, it must be a functional component that forwards refs.
v9.0.2
v9.0.1
v9.0.0
Major Changes
- 4a77d87: Stop using the infamous
findDOMNode()
on providedcontainerElements
.- There seems to have been no good reason for this as this prop, if specified, is already required to be an array of HTMLElement references, which means these nodes have already been rendered (if they were once React elements). There appears to have been no remaining need for this API.
- Furthermore, the minimum supported version of React is now 16.3 as it technically has been for a while now since that is the version that introduced callback refs, which we've been using for quite some time now (so this bump will hopefully not cause any ripples).