Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash with Compose material 1.2.0-alpha04 or above #9

Open
jventrib opened this issue May 23, 2022 · 0 comments
Open

Crash with Compose material 1.2.0-alpha04 or above #9

jventrib opened this issue May 23, 2022 · 0 comments

Comments

@jventrib
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant