Skip to content

Commit 1bf8a2d

Browse files
authored
fix(VSlider/RangeSlider): allow mousedown with left button only (#20265)
fixes #19021
1 parent 32bc451 commit 1bf8a2d

File tree

1 file changed

+2
-0
lines changed
  • packages/vuetify/src/components/VSlider

1 file changed

+2
-0
lines changed

packages/vuetify/src/components/VSlider/slider.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,8 @@ export const useSlider = ({
296296
}
297297

298298
function onSliderMousedown (e: MouseEvent) {
299+
if (e.button !== 0) return
300+
299301
e.preventDefault()
300302

301303
handleStart(e)

0 commit comments

Comments
 (0)