diff --git a/app/components/Modal.client.vue b/app/components/Modal.client.vue index 2b81fc4ac..c900a5fde 100644 --- a/app/components/Modal.client.vue +++ b/app/components/Modal.client.vue @@ -23,12 +23,7 @@ function handleModalClose() { * This is used by consumers that need to run layout-sensitive logic (for example * dispatching a resize) only after the modal is fully displayed. */ -function onDialogTransitionEnd(event: TransitionEvent) { - const el = dialogRef.value - if (!el) return - if (!el.open) return - if (event.target !== el) return - if (event.propertyName !== 'opacity') return +function onDialogTransitionEnd() { emit('transitioned') }