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

[Bug]: Multiple tooltips displayed at once because of grace area #850

Open
nicooprat opened this issue Apr 15, 2024 · 0 comments
Open

[Bug]: Multiple tooltips displayed at once because of grace area #850

nicooprat opened this issue Apr 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@nicooprat
Copy link
Contributor

Environment

Stackblitz, edited from the docs at the time of writing: https://stackblitz.com/edit/gvosea?file=src%2FApp.vue

Link to minimal reproduction

https://stackblitz.com/edit/gvosea?file=src%2FApp.vue

Steps to reproduce

  1. Have multiples tooltips with no open delay
  2. Hover left trigger from the bottom (to create the widest possible triangle for the grace area)
  3. Move slowly to the top right until it reaches the right trigger, but still in the first triangle

Describe the bug

The second tooltip is displayed, but the first one is still visible

Expected behavior

Not sure which one should be visible, but only one at once should be there :)

It seems almost impossible to achieve in real life with the reproduction, but in our application there is a case where it happens all the time (can't share sorry).

Context & Screenshots (if applicable)

Demo:
https://github.com/radix-vue/radix-vue/assets/645641/9e429b06-f410-4236-9cc2-5b742e38d582

Seems like it's been fixed for other primitives already: 75748c60

@nicooprat nicooprat added the bug Something isn't working label Apr 15, 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
None yet
Development

No branches or pull requests

1 participant