Open blakelee opened 1 year ago
If you need a bandaid solution to get you moving forward, wrap your root rendering in a legacy view system WorkflowLayout
.
return ComposeScreen { viewEnvironment ->
AndroidView(
factory = { context ->
WorkflowLayout(context)
},
update = { workflowLayout ->
workflowLayout.show(rendering, viewEnvironment)
},
)
}
The legacy layout worked. Thank you
I have been using workflow in a personal project and I'm trying to use screen animations. The screen animations work fine for screen but if I try and use it on an overlay by using
BodyAndOverlaysScreen
it will crash the app.Here is a test workflow that will cause it to crash. I simplified the workflow significantly to show the issue.
In my own app I can navigate between screen normally with the
AnimatedContent
but when I open anOverlay
it will crash. Another thing I tried is to return myBodyAndOverlaysScreen
without theAnimatedContent
when I see that the overlays are not empty. That also caused a crash.Here is the logcat associated with it