Fixed
Status Update
Comments
il...@google.com <il...@google.com> #2
This also brings back dialog content size animations issues :( But on all devices this time.
See attached video
Repro:
Dialog(
onDismissRequest = {
if (dialogState.canDismiss.value) {
dialogNavigator.hide()
}
},
properties = properties,
content = {
Surface(
modifier = modifier
.safeContentPadding()
.fillMaxWidth(0.8f)
.animateContentSize(),
shape = shape,
color = backgroundColor,
contentColor = contentColor,
) {
.....A composable that change it's size
}
},
)
Description
Version used: 1.0.0-alpha09
Currently if you have a bunch of actions that don't take any arguments, each action generates its own identical NavDirections instance. Those should all be collapsed into a single class.