mirror of
https://github.com/glanceapp/glance.git
synced 2025-06-20 18:07:59 +02:00
Hide popover on click
This commit is contained in:
parent
0e91958de5
commit
fcdea66a0f
@ -38,6 +38,8 @@ function handleMouseEnter(event) {
|
||||
if (activeTarget !== target) {
|
||||
hidePopover();
|
||||
requestAnimationFrame(() => requestAnimationFrame(showPopover));
|
||||
} else if (activeTarget.dataset.popoverTrigger === "click") {
|
||||
hidePopover();
|
||||
}
|
||||
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user