skip body scroll lock on ipad
This commit is contained in:
parent
862fb155b3
commit
4f77903e60
|
@ -141,7 +141,7 @@ export default class DVirtualHeight extends Component {
|
||||||
// we have to do this because we're positioning the composer with
|
// we have to do this because we're positioning the composer with
|
||||||
// position: fixed and top: 0 and scrolling would move the composer halfway out of the viewport
|
// position: fixed and top: 0 and scrolling would move the composer halfway out of the viewport
|
||||||
// we can't use bottom: 0, it is very unreliable with keyboard visible
|
// we can't use bottom: 0, it is very unreliable with keyboard visible
|
||||||
if (docEl.classList.contains("composer-open")) {
|
if (docEl.classList.contains("composer-open") && !this.capabilities.isIpadOS) {
|
||||||
disableBodyScroll(document.querySelector("#reply-control"));
|
disableBodyScroll(document.querySelector("#reply-control"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue