Fix drawer resize
This commit is contained in:
parent
6bb7a155cd
commit
67053beda9
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ export default function SwipeableDrawer(props: Props) {
|
|||
const videoHeight = coverHeight || (mobilePlayerDimensions ? mobilePlayerDimensions.height : 0);
|
||||
|
||||
React.useEffect(() => {
|
||||
if (open && !mobilePlayerDimensions && !coverHeight) {
|
||||
if (open && !mobilePlayerDimensions) {
|
||||
const element = document.querySelector(`.file-page__video-container`);
|
||||
|
||||
if (element) {
|
||||
|
|
Loading…
Reference in a new issue