Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github May 6, 2025

Bumps @floating-ui/react from 0.27.5 to 0.27.8.

Release notes

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

@​floating-ui/react@​0.27.8

Patch Changes

  • feat: export most utils under @floating-ui/react/utils. This makes it a lot easier to write your own custom interaction hooks, or copy/paste the existing ones to change the way they are implemented yourself without patching or waiting for features/breaking changes.
  • perf(FloatingFocusManager): move manual tabindex handling on floating element to an event. Improves performance when the floating element has a large amount of content or the content changes frequently e.g. virtualized scrolling.
  • fix(FloatingFocusManager): prioritize returning focus to reference if available
  • feat(useListNavigation): add parentOrientation prop

@​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
Changelog

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

0.27.8

Patch Changes

  • feat: export most utils under @floating-ui/react/utils. This makes it a lot easier to write your own custom interaction hooks, or copy/paste the existing ones to change the way they are implemented yourself without patching or waiting for features/breaking changes.
  • perf(FloatingFocusManager): move manual tabindex handling on floating element to an event. Improves performance when the floating element has a large amount of content or the content changes frequently e.g. virtualized scrolling.
  • fix(FloatingFocusManager): prioritize returning focus to reference if available
  • feat(useListNavigation): add parentOrientation prop

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
Commits
  • 8b83786 chore: version packages (#3300)
  • d97b16f fix(FloatingFocusManager): handle data-tabindex attribute
  • 3226dd0 fix(FloatingFocusManager): check for data-tabindex existence
  • eeade99 feat: (useListNavigation): add parentOrientation prop (#3296)
  • 1bc8e26 feat(react): export most utils (#3297)
  • 18add92 perf(FloatingFocusManager): move manual tabindex handling on floating eleme...
  • 9364ce0 fix(FloatingFocusManager): prioritize returning focus to reference if availab...
  • 83a0de9 chore: version packages (#3278)
  • a0936e2 fix(useRole): automatically handle custom ids (#3288)
  • f578a30 fix(useRole): improve "combobox" role (#3289)
  • 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.27.5 to 0.27.8.
- [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.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 6, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 6, 2025

Reviewers

The following users could not be added as reviewers: KianNH. Either the username does not exist or it does not have the correct permissions to be added as a reviewer.

Assignees

The following users could not be added as assignees: KianNH. Either the username does not exist or it does not have the correct permissions to be added as an assignee.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 6, 2025

The reviewers field in the dependabot.yml file will be removed soon. Please use the code owners file to specify reviewers for Dependabot PRs. For more information, see this blog post.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 6, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 26, 2025

Superseded by #13.

@dependabot dependabot bot closed this May 26, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/floating-ui/react-0.27.8 branch May 26, 2025 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant