Merge branch 'develop' into better-tutorial

This commit is contained in:
かっこかり
2023-11-02 21:12:41 +09:00
committed by GitHub
8 changed files with 27 additions and 24 deletions

View File

@@ -37,7 +37,7 @@ export function useTooltip(
};
autoHidingTimer = window.setInterval(() => {
if (!document.body.contains(elRef.value)) {
if (elRef.value == null || !document.body.contains(elRef.value instanceof Element ? elRef.value : elRef.value.$el)) {
if (!isHovering) return;
isHovering = false;
window.clearTimeout(timeoutId);