I have a LazyVerticalStaggeredGrid and I render items based on it's type (with difference aspect ratio), when I scroll and (I guess) just before the "ItemTwo()" is about to be visible on the screen, the app crashes.
Affected Platform - As of now, I have experienced the crash only on iOS
Versions
Libraries:
Compose Multiplatform version: 1.6.11
Kotlin version: 2.0.0
OS version(s):
17.2 and iPhone 15 (Simulator, occurs everytime)
17.5.1 and 14 Pro Max (Physical Device, occurs randomly, not always)
I have a LazyVerticalStaggeredGrid and I render items based on it's type (with difference aspect ratio), when I scroll and (I guess) just before the "
ItemTwo()
" is about to be visible on the screen, the app crashes.Affected Platform - As of now, I have experienced the crash only on iOS
Versions
Libraries:
Kotlin version: 2.0.0
OS version(s): 17.2 and iPhone 15 (Simulator, occurs everytime) 17.5.1 and 14 Pro Max (Physical Device, occurs randomly, not always)
To Reproduce Steps to reproduce the behavior:
Expected behavior Should not crash
Screenshots If applicable, add screenshots to help explain your problem.
Additional context
Crash Log
```Uncaught Kotlin exception: kotlin.IllegalStateException: LayoutCoordinate operations are only valid when isAttached is true at 0 TrueAI 0x1017385fb kfun:kotlin.Throwable#