From 8499e7546a10a4e589f08eafd804f081f073e84c Mon Sep 17 00:00:00 2001 From: Baz Utsahajit Date: Thu, 7 Mar 2024 11:54:44 +0000 Subject: [PATCH] Hotfix: Slider - Set eventMode to 'none' for the slider handles and the fill --- src/SliderBase.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SliderBase.ts b/src/SliderBase.ts index 6d305d48..2256eb99 100644 --- a/src/SliderBase.ts +++ b/src/SliderBase.ts @@ -60,6 +60,8 @@ export class SliderBase extends ProgressBar this.slider1 = options.slider1; this.slider2 = options.slider2; + this.fill.eventMode = 'none'; + this.min = options.min ?? 0; this.max = options.max ?? 100; } @@ -154,6 +156,7 @@ export class SliderBase extends ProgressBar { const slider = getView(sliderData); + slider.eventMode = 'none'; slider.x = slider.width / 2; const container = new Container();