ionic-team / ionic-v3

The repo for Ionic 3.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
128 stars 85 forks source link

scrolling issue when keyboard is open #538

Open ionitron-bot[bot] opened 5 years ago

ionitron-bot[bot] commented 5 years ago

Original issue by @najilouis on 2018-01-08T21:54:57Z

When keyboard is open in a form a padding-bottom is getting added to .scroll-content (eg: padding-bottom: 300px) so user can keep scrolling even after reaching the bottom of the form 26772718_10159715508555577_20375930_o

Ionic version: (check one with "x") (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1) [ ] 2.x [ x] 3.x [ ] 4.x

I'm submitting a ... (check one with "x") [x ] bug report [ ] feature request

Ionic info:

cli packages: 

    @ionic/cli-utils  : 1.9.2
    ionic (Ionic CLI) : 3.9.2

global packages:

    Cordova CLI : 7.0.1

local packages:

    @ionic/app-scripts : 3.1.7
    Cordova Platforms  : android 6.4.0 browser 4.1.0 ios 4.4.0
    Ionic Framework    : ionic-angular 3.9.2

System:

    Android SDK Tools : 26.1.1
    ios-deploy        : 1.9.1
    Node              : v9.3.0
    npm               : 5.6.0
    OS                : macOS High Sierra
    Xcode             : Xcode 9.2 Build version 9C40b
joesleiman commented 5 years ago

any updates ?

mankhedekar96 commented 5 years ago

Any updates on this? Still having this issue.

slava-iv commented 5 years ago

Issue still exists 300px hardcoded as keyboard height code

slava-iv commented 5 years ago

workaround (tested only on one device):

IonicModule.forRoot(AppComponent, { platforms: { android: { keyboardHeight: 0 } } }),