-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FLIP animation on list with display: flex #8
Comments
Definitly not a bug of your library or vue transition group |
Hey @lbineau Trying wrapping the whole thing in another div So each element even if it has "absolute" position it becomes absolute for the parent and therefore won't jump to the start of the container. |
Thanks for your anwser. In this case the |
Any news about this issue? |
Hah! I stumbled upon this ticket because I was trying to figure out an issue with vuetify animations. Basically, my issue is that FLIP animations are working perfectly, except when the removed element is at the start of any line. In that case the element is immediately taking 0 space, which gets it wrapped to the previous line immediately. In all other cases everything is working perfectly. I tried adding |
I created a small demo here: https://codesandbox.io/s/j1v9387zqy
If
.items
hasdisplay: block
and.item
hasdisplay: inline-block
everything is working fine.But if
.items
hasdisplay: flex
the items are acting weirdly when you remove them.I think it is because when you
position: absolute
an item in a flex container it goes to (0, 0) coordinates instead of staying at the same coordinates.I don't think it is a bug but could worth to mention in the readme for lists.
The text was updated successfully, but these errors were encountered: