Merge pull request #20669 from JoVictorNunes/issue-20654
fix: external video can be seen through sidebar on mobile
This commit is contained in:
commit
f5665f3bc4
@ -580,6 +580,7 @@ class VideoPlayer extends Component {
|
|||||||
width,
|
width,
|
||||||
fullscreenContext,
|
fullscreenContext,
|
||||||
isResizing,
|
isResizing,
|
||||||
|
zIndex,
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
const {
|
const {
|
||||||
@ -614,6 +615,8 @@ class VideoPlayer extends Component {
|
|||||||
pointerEvents: isResizing ? 'none' : 'inherit',
|
pointerEvents: isResizing ? 'none' : 'inherit',
|
||||||
display: isMinimized && 'none',
|
display: isMinimized && 'none',
|
||||||
background: 'var(--color-black)',
|
background: 'var(--color-black)',
|
||||||
|
overflow: 'hidden',
|
||||||
|
zIndex,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Styled.VideoPlayerWrapper
|
<Styled.VideoPlayerWrapper
|
||||||
|
Loading…
Reference in New Issue
Block a user