fix(frontend): ツールチップが永久にDOMに残ることがある問題を修正

#10805
This commit is contained in:
syuilo 2023-05-15 14:29:35 +09:00
parent f4e6d73a8a
commit 60f504bbe2
2 changed files with 15 additions and 4 deletions

View file

@ -41,6 +41,9 @@ const emit = defineEmits<{
(ev: 'closed'): void;
}>();
// showing = false closed DOM
if (!props.showing) emit('closed');
const el = shallowRef<HTMLElement>();
const zIndex = os.claimZIndex('high');