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]: Button with self-managed tooltip doesn't trigger overlay close on first click #2647

Closed
1 task done
spdev3000 opened this issue Oct 7, 2022 · 3 comments
Closed
1 task done
Labels
bug Something isn't working Component: Overlay Component: Tooltip triage An issue needing triage

Comments

@spdev3000
Copy link
Collaborator

Code of conduct

  • I agree to follow this project's code of conduct.

Impacted component(s)

Tooltip, Button

Expected behavior

When I have a button with self-managed tooltip and another open overlay - clicking that button should close that overlay.

Actual behavior

Clicking the button just closes the tooltip but not the opened (other) overlay

Screenshots

No response

What browsers are you seeing the problem in?

Chrome

How can we reproduce this issue?

  1. Go to https://studio.webcomponents.dev/edit/agr8E5xHIqmrd6P82trn
  2. Click on first button to open overlay
  3. Hover over 2nd button, click button
  4. Overlay won't be closed
  5. Try 3rd button without self-managed tooltip: click closes the overlay

Sample code that illustrates the problem

https://studio.webcomponents.dev/edit/agr8E5xHIqmrd6P82trn

Logs taken while reproducing problem

No response

@spdev3000 spdev3000 added bug Something isn't working Component: Tooltip triage An issue needing triage labels Oct 7, 2022
@najikahalsema
Copy link
Collaborator

@spdev3000 We made a release that should fix this, but we didn't track it in the updates. Can you confirm that this issue is fixed once you update your project?

@spdev3000
Copy link
Collaborator Author

@najikahalsema I haven't updated in our project yet, but can confirm, the webcomponents.dev test project works fine.

@najikahalsema
Copy link
Collaborator

Great. Thank you for the update! @spdev3000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Component: Overlay Component: Tooltip triage An issue needing triage
Projects
None yet
Development

No branches or pull requests

3 participants