Skip to content

Commit

Permalink
Add passive event listener Modal
Browse files Browse the repository at this point in the history
Related to #1755 :
#1755 (comment)
  • Loading branch information
ibilux authored Jul 17, 2023
1 parent 4e13b4f commit 444c4a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/skeleton/src/lib/utilities/Modal/Modal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@
data-testid="modal-backdrop"
on:mousedown={onBackdropInteractionBegin}
on:mouseup={onBackdropInteractionEnd}
on:touchstart
on:touchend
on:touchstart|passive
on:touchend|passive
transition:fade|global={{ duration }}
use:focusTrap={true}
>
Expand Down

0 comments on commit 444c4a6

Please sign in to comment.