ComposePreferences icon indicating copy to clipboard operation
ComposePreferences copied to clipboard

Crash with Compose material 1.2.0-alpha04 or above

Open jventrib opened this issue 3 years ago • 0 comments

When launching the demo app with version.androidx.compose.material=1.2.0-alpha04 or any newer:

java.lang.IllegalStateException: Asking for measurement result of unmeasured layout modifier at androidx.compose.ui.node.LayoutNodeWrapper.getMeasureResult(LayoutNodeWrapper.kt:104) at androidx.compose.ui.node.LayoutNodeAlignmentLines.recalculate(LayoutNodeAlignmentLines.kt:160) at androidx.compose.ui.node.LayoutNode.layoutChildren$ui_release(LayoutNode.kt:989) at androidx.compose.ui.node.LayoutNode.onNodePlaced$ui_release(LayoutNode.kt:937) at androidx.compose.ui.node.InnerPlaceable.placeAt-f8xVGno(InnerPlaceable.kt:122) at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:31) ...

I also reproduce it in my own app using ComposePreferences. I'm trying to understand what's going on.

jventrib avatar May 23 '22 18:05 jventrib