Skip to content

Commit

Permalink
fix(slider): Fix the touch on headless example
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkoOleksiyenko committed Feb 18, 2025
1 parent 9c4ba08 commit 7f521aa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/src/components/slider/slider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,6 @@ export function createSlider(config?: PropsConfig<SliderProps>): SliderWidget {
}
},
touchstart: (event: TouchEvent) => {
event.preventDefault();
const handleDrag = (e: TouchEvent) => {
e.preventDefault();
const newCoord = vertical$() ? e.touches[0].clientY : e.touches[0].clientX;
Expand Down

0 comments on commit 7f521aa

Please sign in to comment.