Skip to content

Commit

Permalink
fix(core): fix swiping over nested shadow doms
Browse files Browse the repository at this point in the history
fixes #6063
  • Loading branch information
nolimits4web committed Sep 15, 2022
1 parent 37a94ea commit 7d09ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/events/onTouchStart.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function onTouchStart(event) {
? event.path[0]
: undefined;
if (swipingClassHasValue && e.target && e.target.shadowRoot && eventPath) {
$targetEl = $(event.path[0]);
$targetEl = $(eventPath);
}

const noSwipingSelector = params.noSwipingSelector
Expand Down

0 comments on commit 7d09ab0

Please sign in to comment.