Jan Skrasek
04/04/2023, 11:26 AMAnimatedVisibility
and want to "bring into view" the expanded area (i.e. to use BringIntoViewRequester
). But somehow this should be requested after the animation. What is the clean way to handle this?Jan Skrasek
04/04/2023, 11:32 AM.onSizeChanged {
if (visible) {
scope.launch {
requester.bringIntoView()
}
}
}
This seems to do the trick! 🎉 Obviously, it is called multiple times during the animation, but at least it scrolls all the time. 🙂