Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Prevent textarea from scrolling up view in iOS WKWebView when editing #103

Closed
deadlyfingers opened this issue Jan 5, 2016 · 3 comments
Closed

Comments

@deadlyfingers
Copy link
Contributor

Linked to issue #94

@deadlyfingers
Copy link
Contributor Author

Will try adding cordova keyboard config values to see if that works -
https://cordova.apache.org/docs/en/5.4.0/guide/platforms/ios/config.html

<preference name="KeyboardDisplayRequiresUserAction" value="false" />
<preference name="HideKeyboardFormAccessoryBar" value="false" />
<preference name="KeyboardShrinksView" value="true" />

NB: Also have to add the keyboard plugin -
https://www.npmjs.com/package/cordova-plugin-keyboard

<plugin name="cordova-plugin-keyboard" spec="~1.1.3" />

@deadlyfingers
Copy link
Contributor Author

As only iOS 9 devices support the new WKWebView Cordova plugin it would be good to add a fallback handler for iOS 8 devices that will be on UIWebView.

@yaronyg yaronyg closed this as completed Jan 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants