Skip to content

[Bug]: Button with self-managed tooltip doesn't trigger overlay close on first click #2647

@spdev3000

Description

@spdev3000

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions