Conversation
|
@atomiks Hilarious to see this in one day 🤣🔥
|
Yeah 😄 as the review comment above says, it's really 2 years of work, compressed into 1 day since I can just reuse all that work I did. |
|
The main use case where this is necessary for touch input is the "infotip" pattern, where an info icon can be tapped to reveal information. It's not a button tool that performs an action, as the action itself is to show the infotip. For keyboard usage, this pattern may require a Another potential solution is to use long press to show the tooltip on touch devices, rather than a tap. This lets them see the description without triggering the button. Probably somewhat rare? |
8d4d38b to
1efbbb8
Compare
22e2843 to
11f1654
Compare
4966245 to
b3f0b25
Compare
It's a bit confusing in
The thing with the |
docs/data/base/components/tooltip/UnstyledTooltipDelayGroup.tsx
Outdated
Show resolved
Hide resolved
|
|
||
| const { version: transformRuntimeVersion } = fse.readJSONSync( | ||
| require.resolve('@babel/runtime-corejs2/package.json'), | ||
| require.resolve('@babel/runtime-corejs3/package.json'), |
There was a problem hiding this comment.
This is already on master, isn't it?
There was a problem hiding this comment.
Yes, I added it here to validate it first and because the docs/demos were broken without it before the other PR got merged
|
Good catch, thanks! |
|
The docs say Tooltip is still "Planned". Can we use this or not? |
|
Hi @Floriferous, the docs that are live refer to an older version of Base UI that is no longer being developed. We are actively working on the new version of Base UI that will be released properly in the upcoming months, which has this component included. You can keep an eye out for the launch on the X account |
Closes #32
Preview: https://deploy-preview-264--base-ui.netlify.app/base-ui/react-tooltip/
Transition experiment: https://deploy-preview-264--base-ui.netlify.app/experiments/tooltip/
TODO: