-
Notifications
You must be signed in to change notification settings - Fork 7
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
Don't automatically choose between popover / tooltip #3
Comments
yeah, that makes sense, I also don't want to use automatically choose between Popover / Tooltip. |
I think one good solution could be to pass |
If that prop is true, maybe it renders differently after a render in a layout effect… |
yeah, that's a good solution for now! I'll go to try it. |
The current implementation breaks SSR hydration since it conditionally toggles tooltip vs popover based on the web device. Instead, it should be a flag to prevent hydration mismatches. This would also let users wrap buttons with tooltips without interrupting touches on mobile browsers. I think it could be a prop.
The text was updated successfully, but these errors were encountered: