parent
f4e6d73a8a
commit
60f504bbe2
2 changed files with 15 additions and 4 deletions
|
@ -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');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue