fix(useTransitionStatus): guard isMounted check and remove unneeded initiated state. Prevents an infinite loop when called in a component with an unstable callback ref.
feat: add useFloatingRootContext Hook, which enables calling interaction hooks in a component higher in the tree than useFloating is called in. This supports spreading reference props onto an "external" reference element. External reference documentation.
fix(useListNavigation): correct scrollIntoView and focus behavior with virtual focus and inner DOM-focused element + FloatingList
fix(FloatingPortal): prevent undefined id with unconditional rendering in React <18
fix(useListNavigation): prevent selectedIndex changes from stealing focus
fix(FloatingDelayGroup): prevent hydration error with Suspense
fix(useListNavigation, Composite): correct index calculations for grid navigation with nullish and disabled items when disabledIndices is inferred
perf(markOthers): avoid applying attributes to script tags needlessly
Update dependencies: @floating-ui/react-dom@2.1.0
0.26.15
Patch Changes
fix(useTransitionStatus): guard isMounted check and remove unneeded initiated state. Prevents an infinite loop when called in a component with an unstable callback ref.
0.26.14
Patch Changes
feat: add useFloatingRootContext Hook, which enables calling interaction hooks in a component higher in the tree than useFloating is called in. This supports spreading reference props onto an "external" reference element.
0.26.13
Patch Changes
fix(FloatingFocusManager): return focus to reference when applicable even if not focused on open
fix(types): simplify React types
fix(types): replace React_2 with React in generated .d.ts files
fix(types): revert React.JSX.Element back to JSX.Element
fix(useHover): restMs + nullish open delay should respect restMs
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.12 to 0.26.16.
Release notes
Sourced from
@floating-ui/react
's releases.Changelog
Sourced from
@floating-ui/react
's changelog.Commits
1a2070e
Version Packages (#2907)d49a0e6
fix(useListNavigation): preventselectedIndex
changes from stealing focus (...a50b33d
perf(markOthers): ignore script tags (#2913)197f1fd
fix(useListNavigation): correctscrollIntoView
andfocus
behavior with vi...d7f76f6
fix(useListNavigation, Composite): correct index calculations for grid naviga...bac4282
fix(FloatingDelayGroup): prevent hydration error with Suspense (#2909)5c114c2
fix(FloatingPortal): preventundefined
id with unconditional rendering in R...58ed169
Version Packages (#2898)8b6311d
fix(useTransitionStatus): set to unmounted (#2899)8306845
fix(useTransitionStatus): guardisMounted
check and remove unneeded initiat...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