mirror of
https://github.com/Xevion/glance.git
synced 2025-12-10 22:07:21 -06:00
Delay showing next popover by 2 frames
This resets the CSS animation so it can be played again, otherwise it gets skipped
This commit is contained in:
@@ -36,7 +36,7 @@ function handleMouseEnter(event) {
|
|||||||
if (activeTarget !== null) {
|
if (activeTarget !== null) {
|
||||||
if (activeTarget !== target) {
|
if (activeTarget !== target) {
|
||||||
hidePopover();
|
hidePopover();
|
||||||
requestAnimationFrame(showPopover);
|
requestAnimationFrame(() => requestAnimationFrame(showPopover));
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user