diff --git a/src/components/VideoPlayer/BaseVideoPlayer.js b/src/components/VideoPlayer/BaseVideoPlayer.js index df79c7ef18da..fe9da14cf34e 100644 --- a/src/components/VideoPlayer/BaseVideoPlayer.js +++ b/src/components/VideoPlayer/BaseVideoPlayer.js @@ -169,7 +169,12 @@ function BaseVideoPlayer({ return ( <> - + {/* We need to wrap the video component in a component that will catch unhandled pointer events. Otherwise, these + events will bubble up the tree, and it will cause unexpected press behavior. */} + {(isHovered) => ( @@ -241,7 +246,7 @@ function BaseVideoPlayer({ )} - +