Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @floating-ui/react to v0.27.5 #3320

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 5, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@floating-ui/react (source) 0.26.23 -> 0.27.5 age adoption passing confidence

Release Notes

floating-ui/floating-ui (@​floating-ui/react)

v0.27.5

Compare Source

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

v0.27.4

Compare Source

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

v0.27.3

Compare Source

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]

v0.27.2

Compare Source

Patch Changes
  • fix(FloatingFocusManager): prevent stale inert/aria-hidden attributes from being left on outside elements

v0.27.1

Compare Source

Patch Changes
  • fix(FloatingFocusManager): correctly fallback to container
  • fix(FloatingFocusManager): check for ancestor floating focus element during closeOnFocusOut
  • fix(FloatingFocusManager): avoid marking tree ancestor floating nodes with data-floating-ui-inert when modal=false

v0.27.0

Compare Source

Minor Changes
  • chore: deprecate inner and useInnerOffset. This technique of aligning an inner element to the reference has poor performance with longer lists, doesn't fit with the middleware paradigm, doesn't work on touch, and has a better custom alternative using native onScroll that is encouraged instead.
  • breaking: drop React 16 support. 17 is the minimum supported version.
  • fix(useId): add | undefined return type for React 17
Patch Changes
  • feat(FloatingFocusManager): add outsideElementsInert prop. This enables pointer modality without a backdrop.
  • perf(useListNavigation): simplify focusing to remove unneeded asynchronicity
  • fix(useDismiss): allow native clicks to work with referencePress
  • fix(useDismiss): read target overflow style for scrollbar press check. Fixes an issue where outside presses would be incorrectly prevented if the target element that was pressed appeared scrollable but was actually not.
  • fix(FloatingFocusManager): check for 'safe-polygon' reason on return focus

v0.26.28

Compare Source

Patch Changes
  • fix(Composite): change focus to be sync
  • fix(useClick): improve consistency when combining with useHover()
  • feat(useClick): add stickIfOpen prop to determine whether to remain open upon first click when first opened by another event
  • feat(Composite): add RTL support
  • fix(FloatingFocusManager): ensure returnFocus is ignored correctly when using disabled prop
  • fix(useListNavigation): incorrect behaviour with RTL grid

v0.26.27

Compare Source

Patch Changes
  • fix(useListNavigation): ignore Home/End key press for typeable combobox references
  • fix(useListNavigation): ensure submenu references are set as virtualItemRef on floating close
  • fix(inner): use list ref length for fallback detection
  • fix(FloatingPortal): allow root to be reactive from null to an element

v0.26.26

Compare Source

Patch Changes
  • fix(useFloating): access domReference instead of reference
  • feat(FloatingFocusManager): specify element to return focus to

v0.26.25

Compare Source

Patch Changes
  • fix(useListNavigation): handle virtual nested Home/End key press
  • fix(useHover): ignore insignificant movement when resetting restMs
  • fix(useListNavigation): ignore duplicate arrow navigation when composing
  • feat(useDelayGroup): add enabled option
  • fix(useDismiss): handle IME keydown events on Escape
  • fix(inner): round max-height only if not scrollable

v0.26.24

Compare Source

Patch Changes
  • fix(FloatingOverlay): correct multiple locks behavior on iOS
  • fix(FloatingFocusManager): avoid returning focus to nearest tabbable element of the reference if it gets removed when the floating element closes to avoid unwanted focus effects of unrelated elements firing. Tab index context remains preserved if the floating element is portaled.
  • refactor: use React.JSX.Element types. Ensure you've upgraded to the latest @types/react patches (versions since May 6, 2023)
  • fix(FloatingArrow): avoid requiring leading space for manually specified transform style property
  • fix(inner): round maxHeight and apply minItemsVisible only when scrollable
  • Update dependencies: @floating-ui/[email protected], @floating-ui/[email protected]

Configuration

📅 Schedule: Branch creation - "before 07:00 on Thursday" in timezone Europe/Oslo, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

changeset-bot bot commented Mar 5, 2025

⚠️ No Changeset found

Latest commit: 86bd770

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

github-actions bot commented Mar 5, 2025

Preview deployments for this pull request:

Storybook - 6. Mar 2025 - 00:25

Copy link
Contributor

github-actions bot commented Mar 5, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 45.59% 3052 / 6693
🔵 Statements 45.59% 3052 / 6693
🔵 Functions 78.76% 204 / 259
🔵 Branches 77.28% 507 / 656
File CoverageNo changed files found.
Generated in workflow #2384 for commit 86bd770 by the Vitest Coverage Report Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants