diff --git a/src/controls/Slider.qml b/src/controls/Slider.qml
index 711c449bfeb8c5a3452f1d0fd179dcc0a10d6e67..b6f3e5511899a5c2a1a62fe47fc991a51abfa33a 100644
--- a/src/controls/Slider.qml
+++ b/src/controls/Slider.qml
@@ -273,7 +273,7 @@ Control {
     // means that setting a value while dragging will not "interrupt" the
     // dragging activity.
     Binding {
-        when: !mouseArea.drag.active
+        when: !updateValueWhileDragging && !mouseArea.drag.active
         target: fakeHandle
         property: __horizontal ? "x" : "y"
         value: range.position