FL3NKEY / scroll-lock

🔨 Cross-browser JavaScript library to disable scrolling page

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No effect on iOS

p3v9d5ui opened this issue · comments

This plugin is having no effect on iOS for me. I've installed the plugin and successfully called scrollLock.hide(), but on iOS there's no effect at all.

My app is a Cordova app + Vue.js. When I run in the browser, body scrolling IS prevented, which is what I'd expect, but not on iOS.

Are you aware of any issues with running under Cordova or Vue.js?

Hello, can i get more information about ios version or code reference?

check if the demo works on your device:
https://fl3nkey.github.io/scroll-lock/demos/index.html

Hi,

I'm on the latest iOS -- 12.0. What do you mean by code reference? An example? That's a little hard to do, because this is a Cordova project.

Yes, the demo does work, but that's running in the browser. This issue is only reproducible in the Cordova app environment. Cordova apparently uses WKWebView for iOS.

Has anyone been able to use this plugin successfully on Cordova?

@p3v9d5ui, plugin is updated! Try it now. (current version: 1.3.5)

bf60290

It works now. Thanks!