Closed
Conversation
0.25.x had an internally inconsistent dependency tree: it declared @floating-ui/utils@^0.1.1 but its transitive dep @floating-ui/react-dom resolved to 2.1.x, which pulled in @floating-ui/dom@1.7.4, which requires @floating-ui/utils@^0.2.10. This caused a build error in consuming apps. 0.26.0 realigns all internal packages to consistently use @floating-ui/utils@^0.2.x, eliminating the conflict. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
|
closing no longer needed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@floating-ui/reactfrom^0.25.0to^0.26.0in bothdependenciesandpeerDependenciesyarn.lockto reflect the new resolved versionsProblem
@floating-ui/react@0.25.xhad an internally inconsistent dependency tree that caused a build error in consuming apps (e.g. agility-cms-manager-app-react):The
^2.0.2range for@floating-ui/react-domallowed2.1.xto be installed.2.1.xbumped its@floating-ui/domdep to^1.7.4, which requires@floating-ui/utils@^0.2.10— but@floating-ui/react@0.25.4only declared@floating-ui/utils@^0.1.1. This produced the following esbuild error at build time:Fix
@floating-ui/react@0.26.0realigned all internal packages to consistently use@floating-ui/utils@^0.2.x:All APIs used in
DropdownComponent.tsx(useFloating,useClick,FloatingFocusManager,FloatingList,useTransitionStyles, etc.) are unchanged between0.25.xand0.26.x.Test plan
DropdownComponentrenders correctly