Skip to content
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 #9464

Closed
1 task
Tracked by #9356 ...
joshblack opened this issue Aug 11, 2021 · 3 comments
Closed
1 task
Tracked by #9356 ...

Tooltip #9464

joshblack opened this issue Aug 11, 2021 · 3 comments

Comments

@joshblack
Copy link
Contributor

joshblack commented Aug 11, 2021

@joshblack
Copy link
Contributor Author

This issue is for preparing Tooltip for v11 Beta 2. For this release, we will need to do the following:

  • Implement the significant changes for tooltip, including:
    • Tooltip is now a generic component that can be applied to interactive elements
    • ToggleTip is now a generic component that implements the disclosure pattern
    • Definition Tooltip now uses ToggleTip
    • Icon Tooltip is now IconButton
  • Tests
  • Documentation
    • Storybook
    • Website

@kingtraceyj
Copy link
Member

hey @joshblack! let's test these specs out and see if we feel like the timing is right. if not, we can delay them a little more but let's see how these look. i want to keep the snappy but make sure the user is intentionally hovering.

Timing specs

Hover enter:
.3 second delay

Hover exit:
.5 second delay

Focus:
Immediately show tooltip on focus and immediately hide on focus exit

Behaviors

In a group of tooltips, if one tooltip is already active, then the others show immediately when a user hovers over them.
(use case example: icon buttons are right next to each other and the user is hovering over to see functions one after another)

@tay1orjones
Copy link
Member

Regarding timing, from the spec:

authors SHOULD display the tooltip after a short delay ... Typical tooltip delays last from one to five seconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants