Skip to content

Commit

Permalink
bugfix/drawer-passive-touch-events (#2220)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmoud-zino committed Nov 6, 2023
1 parent 83a2a4d commit 85b6954
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/tender-jobs-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": patch
---

bugfix: drawer touch events are now passive.
4 changes: 2 additions & 2 deletions packages/skeleton/src/lib/utilities/Drawer/Drawer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@
class="drawer-backdrop {classesBackdrop}"
data-testid="drawer-backdrop"
on:mousedown={onDrawerInteraction}
on:touchstart
on:touchend
on:touchstart|passive
on:touchend|passive
on:keypress
in:dynamicTransition|local={{
transition: fade,
Expand Down

0 comments on commit 85b6954

Please sign in to comment.