Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No effect on iOS #1

Closed
p3v9d5ui opened this issue Oct 4, 2018 · 4 comments
Closed

No effect on iOS #1

p3v9d5ui opened this issue Oct 4, 2018 · 4 comments
Labels
enhancement New feature or request

Comments

@p3v9d5ui
Copy link

p3v9d5ui commented Oct 4, 2018

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?

@FL3NKEY
Copy link
Owner

FL3NKEY commented Oct 5, 2018

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

@p3v9d5ui
Copy link
Author

p3v9d5ui commented Oct 5, 2018

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?

@FL3NKEY
Copy link
Owner

FL3NKEY commented Oct 5, 2018

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

bf60290

@FL3NKEY FL3NKEY added the enhancement New feature or request label Oct 5, 2018
@p3v9d5ui
Copy link
Author

p3v9d5ui commented Oct 7, 2018

It works now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants