https://kotlinlang.org logo
Title
k

kevin

03/31/2023, 4:18 PM
I have a slider that has a ‘steps’ value. It responds correctly to the mouse, moving to the step and calling the onValueChangeFinished callback. The slider also responds to the keyboard so when I give it focus I can use left and right arrow to move the slider, that also works but it doesn’t call onValueChangeFinished (onValueChange is called). Is this expected? Compose version is 1.3.1 Thanks
l

Landry Norris

04/01/2023, 1:49 AM
I want to say you have to press enter or something to get the change finished callback.
i

Igor Demin

04/01/2023, 8:44 AM
You can follow this issue, it is a bug.
have to press enter
When we move the slider with the keyboard, it changes the state instantly, no need to press Enter to apply the change.