Replies: 3 comments
-
Because of the current implementation of x-for, the 2 features are not really compatible. |
Beta Was this translation helpful? Give feedback.
-
a funky way of implementing it: |
Beta Was this translation helpful? Give feedback.
-
@MuzafferDede btw, you're solution isn't perfect because deleting multiple rows will delete the wrong one. You should use |
Beta Was this translation helpful? Give feedback.
-
Example
https://codepen.io/hkanaktas/pen/ExVXGLy
Expected behavior
When one of the red lines are clicked, it should fade off then get removed.
Current behavior
When one of the red lines are clicked, it gets teleported to end of the list then fades off then gets removed.
Notes
To be clear I'm not expecting a fade-off then shrink-down behavior here. (Although some way to mimic Vue's
<transition-group>
functionality would be really nice.) The issue here is that items removed from their arrays are getting teleported to end ofx-for
list.Beta Was this translation helpful? Give feedback.
All reactions