fix: focus always mounted nested lists with listNavigation
fix(FloatingFocusManager): return focus to next tabbable after reference element if removed after floating element opens without other previously focused elements to use
fix(useListNavigation): avoid reading ref in render
fix(useInteractions): split prop getter dependencies so that only the relevant element changes when necessary. Previously reference and floating prop getters had dependencies grouped.
fix(useFocus): prevent SyntheticEvent warning on React <17
fix(inner): allow to make Derivable
fix(FloatingFocusManager): correctly close floating element when tabbing out of a modal combobox reference
fix(FloatingArrow): allow close transitions to play on floating element when grouped in instant phase
fix(useHover): prevent unnecessary delayed opens to preserve potential click open events. Fixes an issue when combining useHover and useClick hooks and a click occurred before the floating element could open on hover, it would unexpectedly close on mouseleave despite being triggered by a click.
refactor: improve types and internal codebase consistency. All documented types are now exported.
fix(FloatingFocusManager): place fallback focus on element with floating props
feat(FloatingFocusManager): restoreFocus prop. This enables automatic restoration of focus to the nearest tabbable element if the element that currently has focus inside the floating element is removed from the DOM.
fix: focus always mounted nested lists with listNavigation
fix(FloatingFocusManager): return focus to next tabbable after reference element if removed after floating element opens without other previously focused elements to use
fix(useListNavigation): avoid reading ref in render
Update dependencies: @floating-ui/utils@0.2.5
0.26.19
Patch Changes
refactor: use scrollX/scrollY instead of deprecated pageXOffset/pageYOffset
chore: fix internal dependency versioning
Update dependencies: @floating-ui/utils@0.2.4
0.26.18
Patch Changes
fix(useInteractions): split prop getter dependencies so that only the relevant element changes when necessary. Previously reference and floating prop getters had dependencies grouped.
fix(useFocus): prevent SyntheticEvent warning on React <17
fix(inner): allow to make Derivable
fix(FloatingFocusManager): correctly close floating element when tabbing out of a modal combobox reference
fix(FloatingArrow): allow close transitions to play on floating element when grouped in instant phase
fix(useHover): prevent unnecessary delayed opens to preserve potential click open events. Fixes an issue when combining useHover and useClick hooks and a click occurred before the floating element could open on hover, it would unexpectedly close on mouseleave despite being triggered by a click.
refactor: improve types and internal codebase consistency. All documented types are now exported.
Update dependencies: @floating-ui/utils@0.2.3
0.26.17
Patch Changes
fix(FloatingFocusManager): place fallback focus on element with floating props
feat(FloatingFocusManager): restoreFocus prop. This enables automatic restoration of focus to the nearest tabbable element if the element that currently has focus inside the floating element is removed from the DOM.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @floating-ui/react from 0.26.16 to 0.26.21.
Release notes
Sourced from
@floating-ui/react
's releases.Changelog
Sourced from
@floating-ui/react
's changelog.Commits
b63dd66
Version Packages (#2993)fe06ea2
Version Packages (#2978)6640df5
fix(FloatingFocusManager): return focus to next tabbable after reference elem...bb63aab
fix(useListNavigation): focus always mounted nested lists (#2985)3b3a956
fix: wrapfocus
call inact
in useFocus tests (#2984)0d6c2d2
fix(useListNavigation): avoid reading ref in render (#2977)bd2d065
Version Packages (#2958)ef1006d
refactor: import from local types5707c21
refactor: usescrollX
/scrollY
instead of deprecatedpageXOffset
/`pageYO...00dc56c
chore: fix internal dependency versioning (#2957)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show