diff --git a/src/components/VideoPlayer/BaseVideoPlayer.js b/src/components/VideoPlayer/BaseVideoPlayer.js index 360095ec7eb4..9cc7a4b3cf1d 100644 --- a/src/components/VideoPlayer/BaseVideoPlayer.js +++ b/src/components/VideoPlayer/BaseVideoPlayer.js @@ -174,7 +174,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) => ( @@ -246,7 +251,7 @@ function BaseVideoPlayer({ )} - +