mirror of
https://github.com/glanceapp/glance.git
synced 2025-08-24 05:55:49 +02:00
Hide popover on click
This commit is contained in:
@@ -38,6 +38,8 @@ function handleMouseEnter(event) {
|
||||
if (activeTarget !== target) {
|
||||
hidePopover();
|
||||
requestAnimationFrame(() => requestAnimationFrame(showPopover));
|
||||
} else if (activeTarget.dataset.popoverTrigger === "click") {
|
||||
hidePopover();
|
||||
}
|
||||
|
||||
return;
|
||||
|
Reference in New Issue
Block a user