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

Ionic 2: input doesn't get scrolled into view when keyboard opens

Open daveshirman opened this issue 10 years ago • 5 comments

Short description of the problem:

Focus an input on a long form (see plunkr below), when the keyboard pops up, the input is now hidden behind the keyboard and not scrolled into view as expected.

What behavior are you expecting?

The selected input scrolls into view.

Which Ionic Version? 1.x or 2.x 2.x

Plunker that shows an example of your issue

yep, here you go: http://plnkr.co/edit/CVsJCpQMVRJoMuF8Sd9M?p=preview

but you'd need to run this on an Android device obviously.

I was testing on a Nexus 5 and Samsung Galaxy Note 4 FYI.

Run ionic info from terminal/cmd prompt: (paste output below) Davids-MacBook-Air:AppHazard daveshirman$ ionic info

Your system information:

Cordova CLI: 6.2.0 Ionic Framework Version: 2.0.0-beta.10 Ionic CLI Version: 2.0.0-beta.32 Ionic App Lib Version: 2.0.0-beta.18 ios-deploy version: 1.8.6 ios-sim version: 5.0.8 OS: Mac OS X El Capitan Node Version: v4.3.0 Xcode version: Xcode 7.2.1 Build version 7C1002

daveshirman avatar Aug 01 '16 16:08 daveshirman

Hey @jgw96, is there any update on this please? Thanks.

daveshirman avatar Aug 04 '16 14:08 daveshirman

Same issue on Android 4.4.2 Acer Z500

Additional info: Input moves into viewable area of screen once any key on keyboard is pressed

jjmax75 avatar Aug 05 '16 03:08 jjmax75

Hello all! Thanks for opening an issue with us and sorry for the delay on this. We actually plan on handling this issue as part of https://github.com/driftyco/ionic/issues/6228 so I am going to close this issue for now as a duplicate. Thanks for using Ionic!

jgw96 avatar Aug 05 '16 19:08 jgw96

any alternative solution for this issue.

lastamazing7 avatar Feb 10 '18 05:02 lastamazing7

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Sep 01 '18 09:09 ionitron-bot[bot]