fix(MediaModal): reset touch Action
This commit is contained in:
parent
ba981e2fbf
commit
5ef9e9ab10
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ let closeModal = () => {
|
||||||
mediaModal.style.opacity = 0
|
mediaModal.style.opacity = 0
|
||||||
document.body.style.overflow = 'initial'
|
document.body.style.overflow = 'initial'
|
||||||
document.body.style.height = 'initial'
|
document.body.style.height = 'initial'
|
||||||
|
document.body.style.touchAction = 'initial'
|
||||||
let video = document.querySelector('#media-modal video')
|
let video = document.querySelector('#media-modal video')
|
||||||
if (video !== null) {
|
if (video !== null) {
|
||||||
video.pause()
|
video.pause()
|
||||||
|
|
Loading…
Reference in a new issue