Fixed
Status Update
Comments
ev...@willowtreeapps.com <ev...@willowtreeapps.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-alpha05
Relevant code in NavController:
public Bundle saveState() {
...
Bundle savedState = entry.getValue().onSaveState();
if (savedState != null) {
navigatorNames.add(name);
navigatorState.putBundle(name, entry.getValue().onSaveState());
}
...
}