ionic-team / cordova-plugin-wkwebview-engine

Mirror of Apache Cordova wkwebview engine plugin
Apache License 2.0
290 stars 69 forks source link

Window Bounces on Input Focus #45

Open mhfen opened 8 years ago

mhfen commented 8 years ago
Environment Information

Framework: Ionic2 @ Beta11
OS: iOS 9.3
Device: iPhone6 (also reproducible on iPhoneSE, iPad Air, iPhone 6S)

Expected Behavior: When a User navigates a form using the Keyboard Arrow Buttons, the view smoothly scrolls to the next Input and focuses into that Input. Actual Behavior: When a User navigates a form using the Keyboard Arrow Buttons, the farther down the form they go, the view bounces more and more in between focusing.

Steps to Reproduce:

  1. Create a form in an ion-content block with 6+ text inputs.
  2. Touch into the first input.
  3. Use the native Keyboard Arrow Buttons to navigate down the rest of the form.
  4. Notice the heavy bouncing.

Screencast: https://cl.ly/3Y282S1h0R3K

Fixes I've Tried:

1. Adding `has-bounce="false"` to the `ion-content` element
2. Fixing the `body` element when the Keyboard is shown
3. Using the native Keyboard plugin's disable scroll function

This does not happen with UIWebView using the same code base.

Ross-Rawlins commented 7 years ago

+1

aaronneon2 commented 7 years ago

Facing same issue here too.