Dovydas
01/22/2025, 3:15 PMDialog(onDismissRequest = {
coroutineScope.launch {
startDismissWithExitAnimation(
animateTrigger
) { showHelpMessageState.value = false }
}
}) {
AnimatedVisibility(
enter =
// expandVertically(
// expandFrom = <http://Alignment.Top|Alignment.Top>,
// initialHeight = { fullHeight -> fullHeight / 4 }
// )
slideInVertically(
initialOffsetY = { fullHeight -> -fullHeight / 2 }
),
exit = fadeOut(),
visible = animateTrigger.value,
) {
Surface(
There seem to be 2 problems:
• The slide and expand transition squares off one set of corners.
• The isn't a transition type that can move the dialog down slightly relative to the whole screen.