Fix: Android scroll position on ending fullscreen playback

pull/16/head
Juraj Nyíri 4 years ago
parent c87c7145b8
commit 4050616345

@ -20472,6 +20472,10 @@ class PlexMeetsHomeAssistant extends HTMLElement {
videobg2.classList.remove('transparent');
this.videoElem.classList.remove('maxZIndex');
video.controls = false;
window.scroll({
top: getOffset(this.activeMovieElem).top - 70,
behavior: 'smooth'
});
}
}
});

@ -876,6 +876,10 @@ class PlexMeetsHomeAssistant extends HTMLElement {
this.videoElem.classList.remove('maxZIndex');
video.controls = false;
window.scroll({
top: getOffset(this.activeMovieElem as Element).top - 70,
behavior: 'smooth'
});
}
}
});

Loading…
Cancel
Save