https://kotlinlang.org logo
Title
m

Mitchell Syer

05/07/2022, 3:58 PM
I got a request for smooth-scrolling for my program. Is it possible for something like that to be implemented in a Compose Desktop program?
m

Michael Paus

05/07/2022, 6:50 PM
How do you define “smooth-scrolling”? That should be the default if you do not do something completely wrong.
m

Mitchell Syer

05/07/2022, 6:54 PM
Well, non-instant scroll to position. I have standard LazyColumns and they all scroll to the next position(using scroll wheel) instantly.
m

Michael Paus

05/07/2022, 7:23 PM
Ok, then you have a different definition of “smooth-scrolling” as I have. I’d rather call this animated scrolling or something like this.
m

Mitchell Syer

05/07/2022, 7:28 PM
Firefox and a few other applications have smooth scroll settings that do what I describe, so not sure what else would be called
smooth-scrolling
😄
k

Kirill Grouchnikov

05/08/2022, 4:06 AM
https://pavelfatin.com/scrolling-with-pleasure/ if you have a couple hours to kill
👍 1