enhance(frontend): tweak MkNotification
This commit is contained in:
parent
ed699b4aed
commit
d20f778bd0
3 changed files with 22 additions and 20 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue