-
Notifications
You must be signed in to change notification settings - Fork 12
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
Tooltip rework #156
Tooltip rework #156
Conversation
Deploying compound-web with Cloudflare Pages
|
a690f4f
to
dc6e18a
Compare
dc6e18a
to
d894dfb
Compare
63733b8
to
e7a1ee8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The focus (blue circle) is on the eye button, so the tooltip should appear, right ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems reasonable, yeah
4669b05
to
15bf312
Compare
15bf312
to
a94c9fc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Phew, thanks for doing this - certainly looks like an improvement at least: nice that it doesn't <TooltipProvider>
s everywhwere. Lets hope it works out better too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems reasonable, yeah
Closes element-hq/compound#298
Migrate the current tooltip implementation from radix to floating-ui.
The tooltip props has changed, the next release should be a major release:
side
,align
&placement
side
andalign
placement
which is basicallyside
andalign
merged in one propsonEscapeKeyDown
&onPointerDownOutside
are partially replaced byonOpenChange
. Currently they are not used in thereact-sdk
.