Skip to content

Commit

Permalink
Merge pull request #1756 from ibilux/patch-3
Browse files Browse the repository at this point in the history
Add passive event listener Modal
  • Loading branch information
endigo9740 authored Jul 19, 2023
2 parents b01c908 + 444c4a6 commit 8efad37
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 8efad37

Please sign in to comment.