HeliBoard
HeliBoard copied to clipboard
Slider settings change to minimum value on first tap
When you edit any slider setting, your first tap on the slider, no matter where you touch it, causes it to change to its minimum value. Subsequent taps work correctly.
Happy to fix this, but need guidance.
App version Commit f4b4705e.
Device:
- Model: google pixel 7a
- OS: Android 15 (manufacturer's OS)
Can't reproduce, it works normally for me. Was it always like that with the new settings?
Just checked with v2.3, and it works fine.
I meant with the new settings, i.e. starting with 3.0.
Happy to fix this, but need guidance.
My only idea so far is investigating what's happening when you change the value of the slider in SliderDialog. Maybe the value changes twice initially?
Apparently, a known bug.
Apparently, a known bug.
Unfortunately that's only that the bug exists, no further information, especially no reply to "Could you provide what your onValueChange is doing?" (which is a bit more generic than "Maybe the value changes twice initially?").
This (pressOffset being zero) is exactly what I saw in the debugger.
I can't reproduce this any longer. Maybe fixed in some Compose version.
There was no update on the linked bug report... let's hope it really was a compose issue that's fixed now.