We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad306be commit 22caf9cCopy full SHA for 22caf9c
app/components/Modal.client.vue
@@ -23,12 +23,7 @@ function handleModalClose() {
23
* This is used by consumers that need to run layout-sensitive logic (for example
24
* dispatching a resize) only after the modal is fully displayed.
25
*/
26
-function onDialogTransitionEnd(event: TransitionEvent) {
27
- const el = dialogRef.value
28
- if (!el) return
29
- if (!el.open) return
30
- if (event.target !== el) return
31
- if (event.propertyName !== 'opacity') return
+function onDialogTransitionEnd() {
32
emit('transitioned')
33
}
34
0 commit comments