-
-
Notifications
You must be signed in to change notification settings - Fork 95
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] Change default Tooltip position to "top"
#558
Comments
On mobile, Google Drive behaves like this indeed, it makes sense to me: ![]() On desktop, this sounds like an absurd default, e.g. ![]() https://m3.material.io/components/tooltips/guidelines#57286ec2-db8e-4699-aa43-0ca11cab0bb5 |
This is already the case for the Tooltip in the new Base UI. However, Tooltip intentionally doesn't work for touch input in the new Base UI. Alternatives will be documented. (cc: @colmtuite)
Why is it absurd? |
I assumed that 99% of the websites show tooltips on desktops below the target and so doing something different would confuse end-users.
The problem is that to have an ejectable source for Material UI, we need the logic abstracted somewhere into an npm package. If not in Base UI, then OK, It could be:
|
Not sure where you're getting that idea? The standard default (that most tooltips on the web outside of a header bar follows) is above the trigger. It's also the default for Radix and RA. So
We'll figure this out later, as we begin building v7 on top of Base UI. |
@colmtuite Right ok, I got spoiled by Material Design (Google UIs) and GitHub UI that uses bottom. The placement between top and bottom depends: https://open-ui.org/components/tooltip.research/. Design system where tooltip is at the bottom:
👍 |
"top"
Let's make this "waiting for upvotes" in the mean time! If you want to see this implemented, please add a 👍🏼 reaction to the issue's description ~ |
"top"
"top"
Summary
Tooltips should be placed by default on top for touch devices.
Possible implementation:
Examples
https://m3.material.io/components/tooltips/guidelines#57286ec2-db8e-4699-aa43-0ca11cab0bb5
Motivation
A (plain) tooltip is hidden under the finger which is touching the screen. So the finger has to be moved, or the finger has to be flipped upside down to view the tooltip. Sometimes, the users don't even see the tooltip, because it is hidden under their finger.
Search keywords: tooltip touch position
Search keywords:
The text was updated successfully, but these errors were encountered: