-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
<ion-input> keyboard attach problem #5536
Comments
any progress on this ? Is there any way to help anything about it ? |
A bug which is similar to this one : On Android 6.0, Ionic 2 : |
@privetr @matitalatina It appears the canonical ionic issue for tracking the blank-space-after-keyboard-input is #5432. I've found a temporary workaround with a not-yet-documented config flag that turns off the padding insert and prevents the space from getting created: https://forum.ionicframework.com/t/disable-scroll-ionic2-ios9-not-working/44847/5?u=evanwillms |
@EvanWillms Thanks for the information, I will check if it solves the problem ! |
I've made some fixes in input focusing. Would this group be able to install the nightly version and let me know how it's working for your app: https://github.com/driftyco/ionic/tree/2.0/scripts#installing-nightly-version thanks |
@adamdbradley It's far far better now, at least now it's usable. Good job! :) By the way I noticed two bugs:
I hope my findings are helpful to improve the quality of this already fantastic framework :). |
Both keyboard attach and/or scrollToBottom() would be handy for my current Ionic 2 project. |
Great thanks everyone! Also, @nunoarruda I just added |
@adamdbradley thanks! Any news on a keyboard-attach directive for v2 like v1 has? |
For anyone listening here: I've just posted my v2 keyboard-attach port here. |
Turns out that switching for pure HTML input element makes the trick. For some reason |
you can solved this issues follow these steps: |
I have the same problem after updating to rc3 |
following @finalxcode code for rc4, but not work to ionic view using ios, but in android it work well. what going wrong with it? |
@finalxcode, thank you so much. Now I can disable scroll with scrollAssist: false, autoFocusAssist: false. But these options are not in here http://ionicframework.com/docs/v2/api/config/Config/ . Are these private options? |
I have the same problem. Cordova CLI: 6.4.0 |
I encountered this problem too. |
There's several workarounds in the following SO post: http://stackoverflow.com/questions/36706398/in-ionic-2-how-to-float-an-element-above-the-keyboard-when-the-keyboard-shows |
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. |
Short description of the problem:
When I focus an
<ion-input>
which is positioned lower than the height of the keyboard, the input is getting hidden by the keyboard (It is not floating above so I cant see what I am typing). Also when I type 1 letter, the keyboard disappears. Another thing is that when I focus an input and the keyboard comes out, and than I try to focus another input field, the keyboard is disappearing and appearing again.What behavior are you expecting?
I am expecting the input to get scrolled up above the keyboard so I can see what I am typing. Also I should be able to type more than 1 letter
Steps to reproduce:
Ionic Version: 2
Browser & Operating System: iOS / Android / Chrome
I have this problem on Android Nexus 5 (I am also using crosswalk). It works fine in Ionic View, but still on focusing different input the keyboard is disappearing and appearing again.
The text was updated successfully, but these errors were encountered: