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 shows on target when user clicks outside of a menu. #2939

Open
mannycarrera4 opened this issue Oct 2, 2024 · 0 comments
Open

Tooltip shows on target when user clicks outside of a menu. #2939

mannycarrera4 opened this issue Oct 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mannycarrera4
Copy link
Contributor

🐛 Bug Report

If you go to our toolbar icon menu example you'll notice that when you:

  1. Hover over target
  2. Click on target
  3. Open menu and then click outside
  4. The tooltip shows back up on the button.

This works somewhat as intended because the target after closing the menu is technically the active element in the DOM. However, it's a bit confusing to a sighted user because there is no focus ring on the target. Maybe we can use some heuristics like focus-visible to indicate when to show the tooltip.

@mannycarrera4 mannycarrera4 added the bug Something isn't working label Oct 2, 2024
@jaclynjessup jaclynjessup moved this to 🆕 New in Canvas Kit Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant