Skip to content

[Bug]: sp-popover dismisses unexpectedly #2625

@hooplapunta

Description

@hooplapunta

Code of conduct

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

Impacted component(s)

sp-popover

Expected behavior

Include sp-popover with overlay-trigger and a <div><sp-icon></sp-icon></div> as the trigger.
Hover over the icon
sp-popover should remain visible on hover

Actual behavior

Depending on angle of approach (e.g from the top or outside the icon content), sp-popover renders briefly then immediately dismisses

Screenshots

No response

What browsers are you seeing the problem in?

Chrome

How can we reproduce this issue?

See sample code
Hover over icon from different approaches, especially from the top.

Sample code that illustrates the problem

https://studio.webcomponents.dev/edit/fbq8OMs9JW82nZ1YBVpP/
https://studio.webcomponents.dev/edit/KVdD0QHXejirkE1YNbi2/

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