xxfast
05/23/2022, 12:53 AM@Composable in the 🧵xxfast
05/23/2022, 12:55 AMxxfast
05/23/2022, 12:56 AMAnimatedVisibility with animation dsl to slideIn and slideOut these childrenxxfast
05/23/2022, 12:57 AMAfzal Najam
05/23/2022, 4:54 AMslideOutVertically has a spring spec, try adjusting the stiffness of that or using a tween animationSpec for it instead.xxfast
05/23/2022, 7:52 AMRafael Costa
05/23/2022, 6:41 PMDoris Liu
05/23/2022, 10:01 PMslideIn and slideOut , the content is offset-ed to achieve the animation. Therefore overlapping is somewhat expected. If you want to achieve no overlapping, I'd recommend expandVertically and shrinkVertically with expandFrom/shrinkTowards param set to <http://Alignment.Top|Alignment.Top> to achieve the effect in this gif.xxfast
05/26/2022, 4:23 AMDoris Liu
05/26/2022, 5:43 PMxxfast
05/27/2022, 2:00 AMDoris Liu
05/27/2022, 3:57 AMAnimatedContent? Seems like knowing the current container size would help scale the content inside of it.xxfast
05/27/2022, 5:16 AM