ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

bug: View Jump

Open ghost opened this issue 11 years ago • 13 comments

Type: bug

Platform: ios 8 webview

This is with the current build of ionic and it happens on iOS 8.3.

To Reproduce: -Create a new ionic tabs template project with latest build of ionic -Go into the account tabs and add around 20 input fields inside the ion list directive using

    <label class="item item-input">
    <input type="text" placeholder="First Name">
  </label>

-Input data into the very last input field of the list; without scrolling down to it.

You should see the whole view bounce to a point where the navigation bar gets pulled down. This happens to any input field that is not near the top of the view

ghost avatar May 21 '15 16:05 ghost

duplicate. Sorry about that.

ghost avatar May 21 '15 18:05 ghost

I thought this was a duplicate but this hasn't been solved properly. Any suggestions on how to overcome this issue? I have a demo for this application with potential customers and it would be great if there was a work around for this. Thanks!

ghost avatar May 21 '15 19:05 ghost

Ok, I can reproduce it. Here's a codepen to get started http://codepen.io/perrygovier/pen/zGKMWe?editors=101

Here's a video demonstrating the issue: https://www.youtube.com/watch?v=XFEUxeZpN-w

@NeRo2pt0, this is what you see too, right?

perrygovier avatar May 22 '15 19:05 perrygovier

Yes this is exactly what I see.

ghost avatar May 22 '15 19:05 ghost

@NeRo2pt0 @perrygovier @Ionitron any fix for this issue?

miguelcaro8706 avatar Jun 19 '15 16:06 miguelcaro8706

@miguelcaro8706 I simply disabled the scroll on the cordova keyboard plugin.

cordova.plugins.Keyboard.disableScroll(true);

This solved my issue.

ghost avatar Jun 19 '15 17:06 ghost

Thanks a lot @NeRo2pt0, it's working

miguelcaro8706 avatar Jun 19 '15 19:06 miguelcaro8706

You're welcome @miguelcaro8706 Happy coding! :)

ghost avatar Jun 20 '15 13:06 ghost

We have the exact same problem. And even with disableScroll it's not working. I've made a video that demonstrates this, available here: https://www.youtube.com/watch?v=soBuGy_HC88&feature=youtu.be

We're using ionic 1.5.0, cordova 5.1.1 and we're using 1.0.5 of this keyboard plugin: https://github.com/driftyco/ionic-plugin-keyboard

robinvanb avatar Jul 20 '15 06:07 robinvanb

We're also having this problem on iOS 8.4 even with disableScroll. We're using Ionic 1.0.0-rc.5 (CLI v1.6.4), Cordova for iOS 3.8.0, and version 1.0.4 of ionic-plugin-keyboard.

chelzwa avatar Aug 21 '15 19:08 chelzwa

Please update to the latest release, this has been fixed.

mhartington avatar Aug 21 '15 19:08 mhartington

My apologies, we should have tried that first-- updating did fix it for us.

chelzwa avatar Aug 21 '15 20:08 chelzwa

Yes, updating have no effect for me too.

tonyisid avatar Mar 09 '16 10:03 tonyisid