[Feature Request] Add ability to listen for transition events on v-dialog
See original GitHub issueProblem to solve
Sometimes it is needed to run some code when v-dialog closes but do it only after closing animation ends, the problem is that at the moment there seems to be no way to determine when it ends.
Proposed solution
A possible solution would be to pass $listeners from v-dialog to the transition component. E.g.
if (this.transition) {
dialog = h('transition', {
on: this.$listeners,
props: {
name: this.transition,
origin: this.origin
}
}, [dialog]);
}
So that it could be used like this:
<v-dialog v-model="isDialogActive" width="500" @after-leave="runSomeCode">
Issue Analytics
- State:
- Created 5 years ago
- Reactions:31
- Comments:10 (1 by maintainers)
Top Results From Across the Web
v-dialog API - Vuetify
name type default
#activator any undefined
#attach any false
#close‑delay number | string 0
Read more >Dialog Interface Reference | Alexa Skills Kit - Amazon Developer
The Dialog interface provides directives for managing a multi-turn conversation between your skill and the user. You can use the directives to ask...
Read more >Building a dialog component - web.dev
A foundational overview of how to build color-adaptive, responsive, and accessible mini and mega modals with the element.
Read more >Voice Browser Call Control: CCXML Version 1.0 - W3C
CCXML is designed to provide telephony call control support for dialog systems, ... is paid to constraining ECMAScript features that require proportionately ...
Read more >Activity state changes - Android Developers
Activity or dialog appears in foreground; User presses or gestures Back ... can cause an Activity to transition from one state to another....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Use this function to patch the original component and forward the
$listeners
object.Any news on when there will be working transition hooks for v-dialog? I cannot get any of transitionend or after-enter to trigger. Thank you