gildaswise / firestore_ui

A port of firebase_auth's FirebaseAnimatedList to Firestore, called FirestoreAnimatedList
BSD 3-Clause "New" or "Revised" License
35 stars 28 forks source link

Animate remaining list items after item removed #9

Closed opringle closed 4 years ago

opringle commented 4 years ago

I implemented an AnimatedFirestoreList as per the documentation. When an item is removed, it animates out correctly. However, the remaining list items instantaneously jump into the new available space. I would expect them to smoothly slide into the space, like with AnimatedList.

Is this behaviour as expected?

opringle commented 4 years ago

The solution was to use a SizeTransition to reduce the card height.

gildaswise commented 4 years ago

Yeah, that's just the default behaviour for FadeTransition! Glad that you got it to work with SizeTransition!