Skip to content

Commit 86351d2

Browse files
authored
Stop event propagation for CTL clicks, to avoid conflict with the page trying to handle the video instead of us on unblocking (#576)
1 parent 4cda6ca commit 86351d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/features/click-to-load.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ class DuckWidget {
369369
const handleClick = e => {
370370
// Ensure that the click is created by a user event & prevent double clicks from adding more animations
371371
if (e.isTrusted && !clicked) {
372+
e.stopPropagation()
372373
this.isUnblocked = true
373374
clicked = true
374375
let isLogin = false

0 commit comments

Comments
 (0)