Skip to content

Commit

Permalink
fix: removed preventDefault on toushmove
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunkan89 committed Nov 11, 2024
1 parent 6daffff commit 01c9609
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/core/src/components/slider/slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,6 @@ export class TdsSlider {
@Listen('mousemove', { target: 'window' })
@Listen('touchmove', { target: 'window' })
handleMove(event: MouseEvent | TouchEvent) {
if (event.type === 'touchmove') {
event.preventDefault();
}

if (!this.thumbGrabbed) {
return;
}
Expand Down

0 comments on commit 01c9609

Please sign in to comment.