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
I have an issue with the v-dialog 'leave' transition (default is to scale down).
The v-dialog in question has a :value attribute always set to true (active).
There is also a v-if on the dialog (this could also be a container div of the dialog that has the v-if, same issue).
When the v-if condition is met the dialog transitions (scales up) into view as expected.
When the v-if condition is not longer met, the dialog disappears without the leave transition (no scale down, just disappears straight away);
The 'leave' transition however works as expected when toggling just the :value attribute of the dialog.
Expected Behavior
The dialog's 'leave' transition scales down out of view when the v-if on it is set to a falsy value.
Actual Behavior
The dialog's 'leave' transition is not shown when the v-if on it is set to a falsy value, it instead disappears straight away.
this is a duplicate of #12742 which was previously closed and labeled 'wontfix' but this seems to be in error due to a misunderstanding of the reported issue. I discussed the reason v-if usage is needed in the discord server here.
It is a performance improvement for dialog components with a lot of script setup code to be toggled via v-if so that the script setup code does not run until the dialog is opened.
The text was updated successfully, but these errors were encountered:
KaelWD
added
wontfix
The issue is expected and will not be fixed
upstream
Problem with a third party library that we may have to work around
labels
Jun 11, 2024
Environment
Vuetify Version: 3.6.8
Vue Version: 3.4.27
Browsers: Chrome 125.0.0.0
OS: Linux x86_64
Steps to reproduce
I have an issue with the v-dialog 'leave' transition (default is to scale down).
The v-dialog in question has a :value attribute always set to true (active).
There is also a v-if on the dialog (this could also be a container div of the dialog that has the v-if, same issue).
When the v-if condition is met the dialog transitions (scales up) into view as expected.
When the v-if condition is not longer met, the dialog disappears without the leave transition (no scale down, just disappears straight away);
The 'leave' transition however works as expected when toggling just the :value attribute of the dialog.
Expected Behavior
The dialog's 'leave' transition scales down out of view when the v-if on it is set to a falsy value.
Actual Behavior
The dialog's 'leave' transition is not shown when the v-if on it is set to a falsy value, it instead disappears straight away.
Reproduction Link
https://codepen.io/digitalsounds/pen/bGwpGrm
Other comments
this is a duplicate of #12742 which was previously closed and labeled 'wontfix' but this seems to be in error due to a misunderstanding of the reported issue. I discussed the reason v-if usage is needed in the discord server here.
It is a performance improvement for dialog components with a lot of script setup code to be toggled via v-if so that the script setup code does not run until the dialog is opened.
The text was updated successfully, but these errors were encountered: