I am trying to create a dialog transition like <he...
# compose
d
I am trying to create a dialog transition like here, but I can't get the animations right. So far I have this:
Copy code
Dialog(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.