You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
Expected behavior
Content should scroll when using one finger, with momentum.
Smartphone
Device: iPhone (any)
OS: Tested on iOS 14
Browser: Mobile Safari
Additional context
Modal focus locking & scrolling seem to be handled by v-scroll-lock, a Vue wrapper around body-scroll-lock, which has an issue that may be the cause of this bug: willmcpo/body-scroll-lock#207
The text was updated successfully, but these errors were encountered:
Update: I got past this issue by following an [example from body-scroll-lock](https://github.com/willmcpo/body-scroll-lock#options to look for a body-scroll-lock-ignore attribute and allow touch events within that element.
Vue.use(VScrollLock, {
enableBodyScroll,
disableBodyScroll,
bodyScrollOptions: {
allowTouchMove: el => {
while (el && el !== document.body) {
if (el.getAttribute('body-scroll-lock-ignore') !== null) {
return true;
}
el = el.parentElement;
}
},
},
})
and then adding 'body-scroll-lock-ignore': true, to the ModalContent attrs.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Content should scroll when using one finger, with momentum.
Smartphone
Additional context
Modal focus locking & scrolling seem to be handled by v-scroll-lock, a Vue wrapper around body-scroll-lock, which has an issue that may be the cause of this bug: willmcpo/body-scroll-lock#207
The text was updated successfully, but these errors were encountered: