Repository navigation
Description
Ionic version: (check one with "x")
[ ] 1.x
[x] 2.x
[x] 3.x
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Keyboards and input scrolling have long been a challenge for Ionic apps, even going all the way back to Ionic V1. We have recently put a focus on trying to knock out these keyboard issues. The issues we currently think are the highest priority when it comes to keyboards and inputs are the following:
- inputs in alerts are sometimes "wonky"
- Forms that have a lot of inputs sometimes have scrolling issues when focusing inputs lower down on the page
- Switching between inputs, textareas and more sometimes causes "bouncing" and other weird UI issues
- Having an input locked to the bottom of a view does not work correctly on iOS (the keyboard covers the input)
We are currently working on a two-pronged approach of modifying the logic in the framework that handles this stuff (mainly for Android) along with some modifications to the WKWebView plugin to fix these issues for iOS. We are at a point now where we have a branch of the WKWebView plugin that has the fixes for iOS and are ready for our community to start testing this and providing feedback. We have made a Google doc here that has instructions on how this can be tested. We would love to have feedback on these fixes! Feel free to provide feedback as a comment to this issue. Thanks for using Ionic everyone!
Activity
naveedahmed1 commentedon May 3, 2017
In my case AppModule adding below import produces relatively better user experience than the defaults.
comfortme commentedon May 4, 2017
thank god finally prayers are answered
kabus202 commentedon May 4, 2017
mburger81 commentedon May 5, 2017
How to Test on Android?
We are happy to help always for Android or Desktop. :)
jgw96 commentedon May 5, 2017
Hey @mburger81 , good question! There is not an updated nightly version of ionic-angular out yet, but when we release one I will update this issue with the instructions on how you can install it for testing on android.
mburger81 commentedon May 5, 2017
Okay thx, we are working on a login page where we have some input scroll issues.
So I think we can check it.
FYI before we can test it and release it to our tester, we need to have resolved the INVALID VIEWS bug (happy for the milestone) , because this is a breaking issue to us
jgw96 commentedon May 5, 2017
Got ya! So on the input scroll issue, can you try placing the input in an area of your view that the keyboard does not cover when its opened?
aspidvip commentedon May 7, 2017
This is a good idea. It is necessary to make sure that the cursor does not go behind the bar, when scrolling
aspidvip commentedon May 7, 2017
It is necessary to make, that the cursor did not block ion-header, at a scrolling
jgw96 commentedon May 9, 2017
Some iOS feedback from one of our team members @danbucholtz :
On individual controls that are not typically used within a form (for example a search input), can we investigate closing the keyboard on "submit" or "enter"?
When performing a navigation action, the keyboard is automatically closed if it's open. We should revisit this behavior with regard to overlays. For example, I cannot imagine there are many use cases when opening a modal and keeping the keyboard open. ActionSheet, Alert, Loading, Modal, Popover, Picker, and Toast all imply the start of a new action (Picking a time for example) or feedback on a completed action (submitting or validating a form or something). I think it makes sense to close the keyboard in the case of opening an overlay.
aspidvip commentedon May 10, 2017
chats.html
chats.ts
This code it's work (OPEN KYEBOARD)
90 remaining items
ionitron-bot commentedon Dec 7, 2018
Thanks for the issue! We have moved the source code and issues for Ionic 3 into a separate repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there.
Thank you for using Ionic!
ionitron-bot commentedon Dec 7, 2018
Issue moved to: ionic-team/ionic-v3#827