Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 14, 2025

Bumps @floating-ui/react from 0.26.26 to 0.27.7.

Release notes

Sourced from @​floating-ui/react's releases.

@​floating-ui/react@​0.27.7

Patch Changes

  • fix(useTransitionStatus): avoid browser from painting before floating element opens. With FloatingDelayGroup, this avoids a flicker when moving between floating elements to ensure one is always open with no missing frames.
  • fix(useListNavigation): correctly scroll to the selected item on open when using a pointer and FloatingFocusManager initialFocus is not in use
  • fix(useHover): clean up blockPointerEvents when opened with click after hover
  • fix(useRole): improve "combobox" role
  • fix(useRole): handle custom id attributes
  • feat: experimental NextFloatingDelayGroup (and useNextFloatingDelayGroup). Unlike FloatingDelayGroup, this component doesn't cause a re-render of unrelated consumers of the context when the delay changes, improving performance. This will eventually become the new default for FloatingDelayGroup in v1 (Next), as its API is different.
  • perf(FloatingFocusManager): ignore manual tabindex handling for non-dialog role floating elements
  • fix(useHover): prevent floating element unexpectedly closing when close to reference element when not using safePolygon() and a close delay
  • perf(useFloating): refactor events emitter
  • fix(FloatingFocusManager): ensure floating elements with no tabbable content are assigned tabIndex=0 when initialFocus is -1
  • fix(useListNavigation): handle list navigation for nested lists with mixed orientation

@​floating-ui/react@​0.27.6

Patch Changes

  • fix(useFloating): prevent error when using inline middleware when passing a real DOM element to refs.setPositionReference due to element.getClientRects() not being handled
  • fix: avoid marking root ancestor combobox with aria-hidden when nested virtual floating element opens
  • fix(FloatingFocusManager): set inert attribute value to empty string instead of "true"
  • fix(FloatingFocusManager): correct tabbing to different document contexts
  • fix(useClick): fix toggle behavior with Enter key when reference element is anchor
  • feat(FloatingFocusManager): getInsideElements prop. Allows you to specify elements that are considered as "inside" the floating element. These will avoid being marked with aria-hidden and data-floating-ui-inert attributes.
  • fix(useFocus): improve :focus-visible checks

@​floating-ui/react@​0.27.5

Patch Changes

  • fix(FloatingFocusManager): return focus on outside press if possible for non-context nested floating elements
  • perf: improve performance by only clearing used timeouts
  • fix(useMergeRefs): support React 19 ref cleanup
  • fix(FloatingFocusManager): avoid returning to unrelated references

@​floating-ui/react@​0.27.4

Patch Changes

  • fix(useListNavigation): use parent's orientation when opening/closing nested menus, correctly supporting grid submenus
  • fix(FloatingList): avoid race condition between registering/unregistering nodes and setting indices

@​floating-ui/react@​0.27.3

Patch Changes

  • feat(FloatingFocusManager): accept FloatingRootContext as the context prop
  • fix(useListNavigation): check for virtual pointer on pointerenter
  • refactor: use jsx runtime
  • Update dependencies: @floating-ui/[email protected]

@​floating-ui/react@​0.27.2

Patch Changes

... (truncated)

Changelog

Sourced from @​floating-ui/react's changelog.

0.27.7

Patch Changes

  • fix(useTransitionStatus): avoid browser from painting before floating element opens. With FloatingDelayGroup, this avoids a flicker when moving between floating elements to ensure one is always open with no missing frames.
  • fix(useListNavigation): correctly scroll to the selected item on open when using a pointer and FloatingFocusManager initialFocus is not in use
  • fix(useHover): clean up blockPointerEvents when opened with click after hover
  • fix(useRole): improve "combobox" role
  • fix(useRole): handle custom id attributes
  • feat: experimental NextFloatingDelayGroup (and useNextFloatingDelayGroup). Unlike FloatingDelayGroup, this component doesn't cause a re-render of unrelated consumers of the context when the delay changes, improving performance. This will eventually become the new default for FloatingDelayGroup in v1 (Next), as its API is different.
  • perf(FloatingFocusManager): ignore manual tabindex handling for non-dialog role floating elements
  • fix(useHover): prevent floating element unexpectedly closing when close to reference element when not using safePolygon() and a close delay
  • perf(useFloating): refactor events emitter
  • fix(FloatingFocusManager): ensure floating elements with no tabbable content are assigned tabIndex=0 when initialFocus is -1
  • fix(useListNavigation): handle list navigation for nested lists with mixed orientation

0.27.6

Patch Changes

  • fix(useFloating): prevent error when using inline middleware when passing a real DOM element to refs.setPositionReference due to element.getClientRects() not being handled
  • fix: avoid marking root ancestor combobox with aria-hidden when nested virtual floating element opens
  • fix(FloatingFocusManager): set inert attribute value to empty string instead of "true"
  • fix(FloatingFocusManager): correct tabbing to different document contexts
  • fix(useClick): fix toggle behavior with Enter key when reference element is anchor
  • feat(FloatingFocusManager): getInsideElements prop. Allows you to specify elements that are considered as "inside" the floating element. These will avoid being marked with aria-hidden and data-floating-ui-inert attributes.
  • fix(useFocus): improve :focus-visible checks

0.27.5

Patch Changes

  • fix(FloatingFocusManager): return focus on outside press if possible for non-context nested floating elements
  • perf: improve performance by only clearing used timeouts
  • fix(useMergeRefs): support React 19 ref cleanup
  • fix(FloatingFocusManager): avoid returning to unrelated references

0.27.4

Patch Changes

  • fix(useListNavigation): use parent's orientation when opening/closing nested menus, correctly supporting grid submenus
  • fix(FloatingList): avoid race condition between registering/unregistering nodes and setting indices

0.27.3

Patch Changes

  • feat(FloatingFocusManager): accept FloatingRootContext as the context prop
  • fix(useListNavigation): check for virtual pointer on pointerenter

... (truncated)

Commits
  • 83a0de9 chore: version packages (#3278)
  • a0936e2 fix(useRole): automatically handle custom ids (#3288)
  • f578a30 fix(useRole): improve "combobox" role (#3289)
  • e081f00 fix(FloatingFocusManager): restrict manual tabindex handling to dialogs (#3287)
  • 94631f1 fix(useListNavigation): correctly scroll to the selected item on open when us...
  • 09ce651 fix(useTransitionStatus): avoid browser from painting before open (#3284)
  • 46f6464 fix(FloatingFocusManager): ignore manual tabindex handling for listbox role...
  • 08d6520 feat: NextFloatingDelayGroup (#3274)
  • 3e7f302 perf: refactor event emitter (#3280)
  • dba01fc fix(useHover): clean up blockPointerEvents when opened with click after hov...
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> 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](https://github.com/floating-ui/floating-ui/tree/HEAD/packages/react) from 0.26.26 to 0.27.7.
- [Release notes](https://github.com/floating-ui/floating-ui/releases)
- [Changelog](https://github.com/floating-ui/floating-ui/blob/master/packages/react/CHANGELOG.md)
- [Commits](https://github.com/floating-ui/floating-ui/commits/@floating-ui/[email protected]/packages/react)

---
updated-dependencies:
- dependency-name: "@floating-ui/react"
  dependency-version: 0.27.7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants