-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
6.5.6, 6.7.2, 6.8.0 Beta2
Currently, a draggable Switch control (checkable: false) will always toggle on (checked = true) when the indicator is dragged and released at a position greater than 0.5. When attempting to override the behavior so that the control is only toggled on when the dragged indicator is released at a different position threshold (e.g. onReleased: checked = position > 0.75), leads to the control ignoring the desired behavior and toggling on (e.g. 0.5 < position < 0.75).
Steps to reproduce:
- Run the attached reproducer
- Drag switch indicator to position greater than 0.5 but less than 0.75
Expected behavior: Switch is not toggled on when indicator position > 0.5 but < 0.75
Observed behavior: Switch is toggled on when indicator position > 0.5 but < 0.75