A React component that traps focus
focusTrapOptions
prop. (#948)tabbable
dependency has been updated to v6.0.0 and contains a breaking change related to detached nodes with its default displayCheck
setting. See tabbable's changelog for more information.
focus-trap
dependency has also be updated to v7.0.0 but only contains the underlying tabbable
changes.tabbableOptions.displayCheck
prop type has been updated to include the new "legacy-full" option.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.