I'm certain that LazyVerticalGrid on Android once had automatically a scrollbar. Today I noticed that it's gone. Must have happened with one of the Compose updates. I don't use it that often. 🤔
How to add scrollbars to LazyVerticalGrid on Android?
It never did. Desktop has an official implementation. For Android nothing in androidx does this atm.
You should try the link above or any other library potentially.
10/26/2023, 8:35 AM
Can't be. The LazyVerticalGrid in old versions had automatically a scroll bar. I remember that and used it.
I will take a look at the library above.
10/26/2023, 8:39 AM
Is that so? I don't know if grid had something special, but I very specifically remember there not being anything for LazyColumn, and it existing only in the -jvm artifact from the Jetbrains version of compose
10/26/2023, 8:40 AM
Yes, at the time around Compose Multiplatform 1.0 I only needed to do it for Desktop and the Android version automatically had one. I'm 100% certain. But back then it was (another) experimental thing and maybe support for that dropped.
blob shrug 1
10/26/2023, 8:48 AM
Yeah it definitely was experimental back then. It could be something that simply never made it to the stable releases