compose-multiplatform
compose-multiplatform copied to clipboard
LazyColumn and LazyRow are very slow only on iOS
Describe the problem Scrolling my lazycolum/lazyrow is very slow on iOS. It's very fluid on Android, but everything feels like it's slowing down on ios.
Affected platforms Select one of the platforms below:
- iOS
Versions
- Kotlin version: 1.9.21
- Compose Multiplatform version: 1.5.12
Hello! Thanks for an Issue! Can you please provide a minimal reproducible sample there we can see a big difference between Android and iOS?
Hello @dima-avdeev-jb , this is a sample with the lag. Tell me if you succeed to get it (it's on a drive) If not, I will put it on github but I prefer to avoid this. https://drive.google.com/file/d/1KibJSEWI99U_OtaGZPGKWCAabXuIxlkl/view?usp=sharing
I'll have a look!
Hello @elijah-semyonov did you have time to look ?
Not yet, I'll post my findings when I'm done with it.
@elijah-semyonov @dima-avdeev-jb Following the release of version 1.6.0 of compose multiplatform I've changed the way resources are displayed, just to see. I used to use moko resources. I modified everything to use the more native way with the new Res. And now, miraculously, it works great, it's fluid as ever. The problem is solved, it was moko that was causing the slowdown.
@vivaCoda54 by any chance u have a migration guide