-
Notifications
You must be signed in to change notification settings - Fork 981
[Popper] Use floating-ui
#1531
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
Merged
Merged
[Popper] Use floating-ui
#1531
Conversation
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
benoitgrelard
commented
Jul 18, 2022
cfdd4ae
to
558d2b2
Compare
andy-hook
reviewed
Jul 19, 2022
andy-hook
approved these changes
Jul 19, 2022
luisorbaiceta
pushed a commit
to luisorbaiceta/primitives
that referenced
this pull request
Jul 21, 2022
* [Popper] Use `floating-ui` * Re-integrate collision props * Align stories * Align for chromatic * More chromatic bits * Update DropdownMenu.stories.tsx * Restore Popper stories * Cater for PopperContent in Portal positioning issues * Hide arrow automatically * Add Popper chromatic story * Update Popper.stories.tsx * Delete old `core/popper` package * Delete usage of Arrow `offset` prop * Update 07c2bf00.yml * Default to `fixed` strategy * Expose `arrowPadding` prop * No need for Portal on sub in ContextMenu and DropdownMenu * Fix typeahead scoping in submenus * Add comments * PR feedback * Expose more configuration * Fix story for chromatic * Add padding to chromatic stories * Add delay to chromatic stories * Fix chromatic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
PR: Breaking Change
This PR contains a breaking change
PR: Documentation Needed
This PR warrants a documentation update
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.
Follow up PR: #1540
Supersedes #1516
Fixes #370
Fixes #557
Fixes #740
Fixes #781
Fixes #800
Fixes #1445
Fixes #1464
Others potentially linked to investigate:
#791 — explore this
#945 — may be doable now with use of mainAxis shift, but not sure it's worth it, probably needs a diff pattern
#1087 — linked to #791
Arrow
offset
prop is goneContent
collisionTolerance
prop is renamed tocollisionPadding
and acceptnumber | Padding
Content
arrowPadding
prop is newContent
sticky
prop is newContent
hideWhenDetached
prop is newPortal
part around submenu contents (inDropdownMenu
andContextMenu
)main
and delete references tocore/popper
in version files (only 1 I think)