You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click "Toggle Component" to see the component animate out abnormally with a 2-second fade
Click "Unmount All" to see the component immediately disappear without animation
What is expected?
When using "Toggle Component", you'll see the full 2-second leave animation
When using "Unmount All", the animation will be skipped because isUnmounting is set to true by the onBeforeUnmount hook
What is actually happening?
The animatoin dosenot appear
System Info
Any additional comments?
The onBeforeUnmount hook that sets isUnmounting to true
The check in the onLeave method that skips animation when isUnmounting is true
The text was updated successfully, but these errors were encountered:
Vue version
3.5.3
Link to minimal reproduction
https://play.vuejs.org/#eNqVV21T2zgQ/ivbdG4SOuQFaG+4HGQKbT/0rtMyB/ep9IOw5VjFtjySHMIx+e+3kiVbsh3aDi+2V6vdZ18kPXoaXZTlbFPR0XJ0pmheZkTRFcBtAXAWsw1EGZHy/HYU8UIRVlBxO7LDqJAerS6JpDeCFJIpxgv4t8h5VShWrOE9zfnZHFUa9a49wTPpmUONu0optPI2ylh0j1qKr9cZvU75A+rdmA94x/OSF7RQZ/Na/TkDVY3nIsvQgAUH+AWT63tWwkXBcqKBH/SMnc0Rrmd6IIYYI5wSQUkYRE/ljm8DDZ2545WXtUuakg3jYon5Og4VfWPEoZ0OVcNOUI3ZqXYOmylLcK6scxgqd+z3cVqlcnWTMgk0oznmfSwho2RDocEDDwxTekdBYlJLGgOKbObP5mXfaSe1tawDPExDZ0b4/ROlwoRJntGwUOnJ6l0thy+VKiul83/ia5SCrp6eIONrOfvOWTEZ394W4wPY7TAuHBtC0L5jTOGKQpGMBCuV+WbYx0LBEwiawA4SwXMY41Ice4Ntk+jlZHVm81Cs16+ZpP/o1kyMaUKqTFs38sgtGrl0IugaN9LdYf2UVFXl5KBV1hlUoNsIzjXiiRIVPQhHdZ7s6NdvzZh7zufwia+BFYqKiJaKCzfCEpiox5LyBDupiNHFi/NzGFcFRoFdHmPGGxzOFxdszQqS2Qpqy+dmCD9mCCTUd8JzmMxm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R0ikic45YJ7Xqh9ulOYKXDXmyZcqpSHvt0PejbCc16pLgJoNYDowgp5/cQ4bI1PNo5a4iU7Xa0dwgxnj37rfbMHQZxLLHBFBZs5gsD1tytrLRdVxf4zl6C8YLQ6bCZkl7q9F2h7yZg8gHs5o4P139/vLr68B5irDyWzfYJTvdpLJgsYDd6ElvAPrPvRPWZi5xk3r14Yi7GvMgeQVR4TU5pgQe88lx7fgLUVxl51M2RVGgAz6zGZpd1U3XDcsqrgRW0NxH6NMqo8htiKHBskuPFYjHYNO0W+GwnGrVnG3EvZx/t/gcZdcol
Steps to reproduce
What is expected?
When using "Toggle Component", you'll see the full 2-second leave animation
When using "Unmount All", the animation will be skipped because isUnmounting is set to true by the onBeforeUnmount hook
What is actually happening?
The animatoin dosenot appear
System Info
Any additional comments?
The onBeforeUnmount hook that sets isUnmounting to true
The check in the onLeave method that skips animation when isUnmounting is true
The text was updated successfully, but these errors were encountered: