Search Issue Tracker
In Progress
Won't Fix in 2023.2.X
Votes
0
Found in
2021.3.26f1
2022.3.0f1
2023.1.0b18
2023.2.0a16
2023.3.0a3
6000.0.0b11
Issue ID
UUM-37506
Regression
No
UI Toolkit's MinMaxSlider snaps unexpectedly in Runtime
How to reproduce:
# Open the attached project
# Enter Play Mode in Device Simulator
# Try to drag the handles by clicking slightly outside the handle
# Observe the slider snap to the mouse position.
# Observe the right slider handle is offset compared to the end of the slider.
# Open MinMaxSliderTestDocument in the UI Builder and see there is no way to define a larger drag zone without changing the style of the handle too.
# There is also no way to only accept drags on handles, or vice versa.
Expected Result:
Users can restyle the MinMaxSlider without affecting its behavior. The knob visuals is decoupled from the input area.
There is a way to make the MinMaxSlider only accept drags coming from handles.
Actual Result:
The MinMaxSlider requires styles to be in a certain format to work properly. The knob defines the size of the draggable area, causing snapping most of the time on mobile.
No way for the MinMaxSlider to only accept handle dragging.
See also this thread: [https://forum.unity.com/threads/min-max-slider-doesnt-seem-to-work-with-unity-default-runtime-theme.1278779/]
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (2023.2.X):
Closing as Won't fix due to 2023.2 reaching it's EOL.