-
Notifications
You must be signed in to change notification settings - Fork 28
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
Migrate from Popper v2 to Floating UI #895
Comments
This enhancement will make the tooltip positioning dynamic based on overflow state: + const more = {
+ disabled: !isOverflow,
+ };
+ if (isOverflow) {
+ more.nextToCursor = true;
+ }
+
return (
<Tooltip
ref={ref}
arrow={false}
disabled={!isOverflow}
- nextToCursor={true}
+ {...more}
{...rest}
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Learn how to migrate from Popper v2 to Floating UI:
https://floating-ui.com/docs/migration
Popper v2
https://popper.js.org/docs/v2/
Floating UI
https://floating-ui.com/
The text was updated successfully, but these errors were encountered: