You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test Device(s) - Emulator with Android 13, Poco F1 with Android 12
Describe the Bug:
How do I handle the shared element transition of a composable within a LazyRow?
The app just crashes when I try to scroll through the row, the transition works fine as intended.
Expected Behavior:
The LazyRow should scroll horizontally, but instead crashes.
Stacktrace:
E/AndroidRuntime: FATALEXCEPTION: main
Process: app.test.compose, PID: 3603java.lang.IllegalStateException: Check failed.
at androidx.compose.ui.node.LayoutNodeLayoutDelegate$LookaheadPassDelegate.replace(LayoutNodeLayoutDelegate.kt:1045)
at androidx.compose.ui.node.LayoutNode.lookaheadReplace$ui_release(LayoutNode.kt:829)
at androidx.compose.ui.node.MeasureAndLayoutDelegate.measureAndLayout-0kLqBqw(MeasureAndLayoutDelegate.kt:352)
at androidx.compose.ui.platform.AndroidComposeView.measureAndLayout-0kLqBqw(AndroidComposeView.android.kt:783)
at androidx.compose.ui.layout.LayoutNodeSubcompositionsState$precompose$1.premeasure-0kLqBqw(SubcomposeLayout.kt:671)
at androidx.compose.foundation.lazy.layout.LazyLayoutPrefetcher.run(LazyLayoutPrefetcher.android.kt:187)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7898)
at java.lang.reflect.Method.invoke(NativeMethod)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
The text was updated successfully, but these errors were encountered:
Please complete the following information:
v0.2.2
Describe the Bug:
How do I handle the shared element transition of a composable within a
LazyRow
?The app just crashes when I try to scroll through the row, the transition works fine as intended.
Expected Behavior:
The
LazyRow
should scroll horizontally, but instead crashes.Stacktrace:
The text was updated successfully, but these errors were encountered: