stop propagation of videoplayer click
This commit is contained in:
@@ -115,7 +115,10 @@ export function Controls({
|
|||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
}}
|
}}
|
||||||
onClick={() => setInteractingViaKeypress(false)}
|
onClick={evt => {
|
||||||
|
evt.stopPropagation()
|
||||||
|
setInteractingViaKeypress(false)
|
||||||
|
}}
|
||||||
onMouseEnter={onMouseEnter}
|
onMouseEnter={onMouseEnter}
|
||||||
onMouseLeave={onMouseLeave}
|
onMouseLeave={onMouseLeave}
|
||||||
onFocus={onFocus}
|
onFocus={onFocus}
|
||||||
|
|||||||
Reference in New Issue
Block a user