willmcpo / body-scroll-lock

Body scroll locking that just works with everything 😏
MIT License
4.05k stars 339 forks source link

Working on iOS with Cordova + Vue.js? #52

Open p3v9d5ui opened 6 years ago

p3v9d5ui commented 6 years ago

This doesn't seem to work in a Cordova + Vue.js environment, while running on iOS. When I run in a browser (FF), it works fine, but on iOS, there is no effect at all.

Any ideas?

focussing commented 6 years ago

I experience the same problem, any news on this? This is the first really working module :)

My application is not a Cordova project but a Vue-CLI3 project, header and footer are locked (no elastic effects anymore), the main content between header and footer is scrolling. On iOS 12 the main content shows a scrollbar but it does not scroll...

On Android it works okay.

p3v9d5ui commented 6 years ago

Hi @focussing , I raised the same issue for the separate "scroll-lock" library, and it was fixed there:

https://github.com/FL3NKEY/scroll-lock/issues/1

Perhaps the maintainers can use the same solution for this library, or you could try that one.

Best,

focussing commented 6 years ago

Hi @p3v9d5ui , thank you for your input! @willmcpo could you use the solution for this plugin as well?

willmcpo commented 6 years ago

Hi all - would someone mind submitting a PR? I've not got a project with a Cordova Vue environment, so it'd be harder for me to understand the issue, and or how to resolve!