body-scroll-lock
body-scroll-lock copied to clipboard
Support scrolling on both axes (iOS)
Currently, enabling bodyScrollLock disables scrolling on anything but the targetElement. However, on iOS, it also locks scrolling to the Y axis, preventing horizontal scrolling on the targetElement.
This PR allows scrolling on either axis on the targetElement.
@willmcpo Hello, how does it look with this PR? Will it be released? I would like to use horizontal scrolling. Thanks for the answer.
@willmcpo please help 🙏
@xanido the horizontal scroll seems to still be frozen if the target can only scroll horizontally.
Have you tested this case ?
Moreover @xanido looks like @willmcpo works in Qantas company in Sydney, so if you want to target him directly to update this repo, you're very close
Hi all, will look into this PR soon
Thanks a lot @willmcpo, sorry again for the multiple pings
@xanido the horizontal scroll seems to still be frozen if the target can only scroll horizontally.
Have you tested this case ?
@willmcpo i think you should also check this
Hey people! is this PR going to be merged soon? I really need this so maybe I need to implement it by myself it it's not going to be merged. Thank you!
@xanido the horizontal scroll seems to still be frozen if the target can only scroll horizontally. Have you tested this case ?
@willmcpo i think you should also check this
is this still an issue?