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 by "LookaheadDelegate has not been measured yet when measureResult is requested" #1043

Open
takahirom opened this issue Sep 11, 2024 · 0 comments

Comments

@takahirom
Copy link
Member

I'm not sure but it happens when switching tab and scrolling

Fatal Exception: java.lang.IllegalStateException
LookaheadDelegate has not been measured yet when measureResult is requested.
androidx.compose.ui.node.LookaheadDelegate.getMeasureResult$ui_release (LookaheadDelegate.kt:14)
androidx.compose.ui.layout.ApproachMeasureScopeImpl.getLookaheadSize-YbymL2g (ApproachMeasureScopeImpl.java:40)
androidx.compose.ui.node.LayoutModifierNodeCoordinator.measure-BRTryo0 (LayoutModifierNodeCoordinator.kt:40)
androidx.compose.ui.node.LayoutNodeLayoutDelegate$performMeasureBlock$1.invoke (LayoutNodeLayoutDelegate.kt:9)
androidx.compose.ui.node.LayoutNodeLayoutDelegate$performMeasureBlock$1.invoke (LayoutNodeLayoutDelegate.kt:9)
androidx.compose.runtime.snapshots.Snapshot$Companion.observe (Snapshot.kt:114)
@takahirom takahirom changed the title LookaheadDelegate has not been measured yet when measureResult is requested Crash "LookaheadDelegate has not been measured yet when measureResult is requested" Sep 11, 2024
@takahirom takahirom changed the title Crash "LookaheadDelegate has not been measured yet when measureResult is requested" Crash by "LookaheadDelegate has not been measured yet when measureResult is requested" Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant