Skip to content

ion-input: when closing keyboard padding bottom is not removed #5529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
chogarcia opened this issue Feb 19, 2016 · 7 comments
Closed

ion-input: when closing keyboard padding bottom is not removed #5529

chogarcia opened this issue Feb 19, 2016 · 7 comments

Comments

@chogarcia
Copy link

Short description of the problem:

ion-input, when tapping on the field, the keyboard shows up.
When closing the keyboard, the bottom padding is not removed so scroll remains same as when the keyboard is open.

Steps to reproduce:

  1. Tap in ion input
  2. close keyboard
  3. scroll remains increased (padding at the bottom of ion-content)

Ionic Version: 2.0.0-beta.17

Browser & Operating System: Android / Chrome

ionic info:

Cordova CLI: 5.4.1
Gulp version:  CLI version 3.9.0
Gulp local:
Ionic CLI Version: 2.0.0-beta.17
Ionic App Lib Version: 2.0.0-beta.8
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Mac OS X El Capitan
Node Version: v5.3.0
Xcode version: Not installed
@adamdbradley
Copy link
Contributor

This is something that's by design and still something we're working on. Basically when you remove that padding, while the keyboard is also transitioning away, it's extremely janky to the point leaving that padding there is the lesser of two evils. But like I said, we're still working on better solutions.

@chogarcia
Copy link
Author

Nice to hear that. Many thanks.

@raducostea
Copy link

Any news on this one? When it will be tweaked?

@EvanWillms
Copy link

#5432 gets reported again :)

@raducostea I'm personally turning off the troublesome ionic keyboard padding and falling back to the device native behavior of letting the whole page slide up and down in the meantime. You might be able to tweak your own app with one of the config workarounds I've identified at:
https://forum.ionicframework.com/t/disable-scroll-ionic2-ios9-not-working/44847/5?u=evanwillms

@layton-glympse
Copy link

...So the issue is just "closed" until further notice? This is actually a huge deal for UX, I'd honestly prefer a little "jank" to having the entire UX of a page changed unalterably once the keyboard goes away...

@vofili
Copy link

vofili commented Sep 29, 2017

im experiencing this same issue

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 2, 2018

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 ionitron-bot bot locked and limited conversation to collaborators Sep 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants