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

Convert to floating-ui for tooltips for small speedup #4108

Merged
merged 5 commits into from
Dec 1, 2023
Merged

Conversation

cmdcolin
Copy link
Collaborator

@cmdcolin cmdcolin commented Dec 1, 2023

This reduces extra dependency, and avoids a hack where we were reliant on useMemo (react docs specifically say not to. related thread floating-ui/react-popper#391)

@github-actions github-actions bot added the needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) label Dec 1, 2023
@cmdcolin
Copy link
Collaborator Author

cmdcolin commented Dec 1, 2023

bonus: should feel a little faster because it uses transform instead of absolute placement

@cmdcolin cmdcolin added enhancement New feature or request and removed needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) labels Dec 1, 2023
@cmdcolin cmdcolin changed the title Convert react-popper to floating-ui for tooltips Convert to floating-ui for tooltips for small speedup Dec 1, 2023
@cmdcolin cmdcolin force-pushed the floating_ui branch 2 times, most recently from 1c65f48 to d04e4de Compare December 1, 2023 17:48
@cmdcolin cmdcolin merged commit 88c57a9 into main Dec 1, 2023
10 of 11 checks passed
@cmdcolin cmdcolin deleted the floating_ui branch December 1, 2023 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant