TransitionGroup not firing v-move at array.push #14330
-
|
Hello everyone. Sorry for my bad English, I'm using a translator. I'm trying to create a toasts component for Vue 3. The key is that I need new elements to be at the bottom, and older elements to fade upward when a new element is added. The entire component is positioned at the bottom left. The problem is that v-move only starts working when the list overflows and older toasts are deleted. As I understand it, when adding an element, I call list.push(), which doesn't change the position of the other elements but simply adds the new element to the end, so v-move doesn't work. I'm already racking my brain trying to implement this. I've tried display flex and scaleY. Nothing works. Please help. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
like this ? |
Beta Was this translation helpful? Give feedback.
-
|
No ideas? :( |
Beta Was this translation helpful? Give feedback.
-
|
If I set the Vue version to 3.5.22 in the Playground it seems to work correctly. This seems to be a regression in 3.5.23. |
Beta Was this translation helpful? Give feedback.
If I set the Vue version to 3.5.22 in the Playground it seems to work correctly. This seems to be a regression in 3.5.23.