-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Virtual keyboard hides text input (tested on Iphone and Android) #1079
Comments
I'm having this problem as well (in my application). Any word on a fix? |
It's been awhile since this bug's been filed, hasn't it? I'll raise this in discussions. Stay tuned. |
I bumped this up to critical and assigned it to Scott to see is he has any ideas. |
hey guys...any word on a fix for this? |
We haven't had a chance to look at this yet, but it's on our radar! |
Same problem here... Any updates? |
The Android keyboard works perfectly on the fields in the link below but now on my site. http://jquerymobile.com/demos/1.0b3/docs/forms/texts/index.html Very frustrating. My site's text fields work on iOS but not Android. I have tried copy/pasting the html from the link above to my site and it doesn't work but it works on the jquerymobile site. Argh! Any ideas? |
Since I'm using a nightly build of about 2weeks ago it works... Maybe it's |
If your page markup and styles are the same as the docs, I'm not surprised that things look different. I'm guessing the overflow rules we have on the document are causing this, bit I'm not sure. If you ensure there is a bit more content below the input (or space), does the problem go away? |
Hi all - Is this still an issue with 1.0.1? |
I haven't run into this in testing for months and there hasn't been a reply from anyone so closing as fixed. |
hmm. Using 1.1.0 final and I have this issue, on both Android and iOS. Clicking a textarea will fly in the keyboard and flyout the header, which should remain onscreen. |
@wturnerharris - See my response in #1087 |
Hi, I am using JQM 1.2 with JQuery 1.8.1 and i am facing the issue "Virtual keyboard hides text input on Android". It seems to appear on every page containing form elements or when a simple dialog box with input is opened. I have tested this on ASUS transformer Eee pad and Samsung Galaxy tab as well. On IPad2 it is working absolutely fine. Whenever you click on input field on IPad2 virtual keyboards appears on screen and scrolls up the page so that the input is visible to the user. |
I am seeing this problem as well with android on 1.3.0 |
@neerajsharmatbs @chipmunc56 Can you post a test page and tell us on what Android version the problem occurs? |
iOS 6 has this issue. Has this been re-opened somewhere else using JQM 1.3? |
I'm using JQM 1.3.2., jquery-1.10.2, Phonegap, and Android 4.3 I'm facing this issue. Can we re-open this here or elsewhere? |
I am almost facing this issue on Android 4.1.2 and 2.2 |
I m also facing same issue, any fix/workaround recommended? |
@gerardohuck @gkrilov @ZainShaikh Can you open one new ticket for this including a simple test page that uses latest code. Please include steps to reproduce, info about platform/device you tested on, if it is only an issue with PhoneGap, etc.. See our contributing guide for instructions. Thanks! |
Confirming same issue, fixing is highly needed. |
Any update on this, also having the same issue in 1.4.2 |
Urgenly need a solution of this.Having same problem |
This is an issue with 1.4.2 and Android 4.4....Any updates? Thanks so much. |
@rajibint @indranil-indus @gemmawood See my previous comment (#1079 (comment)). Can one of you provide a simple test page that illustrates the issue? Thanks! |
This is happening with Phonegap full screen android application only!! tested on android browser it is fine |
This is an issue with kitkat, http://stackoverflow.com/questions/19897422/keyboard-hiding-edittext-when-androidwindowtranslucentstatus-true Fixed by disabling the full screen mode of the app. |
Still reproducible with jquery Mobile 1.4.3. Steps to reproduce:
Observed behavior:
Notes: Sample index.html can be found here: https:/KevinMSt/jqueryMobileIssue1079/blob/master/www/index.html |
just wanna report the same bug I am facing now environment: test in IOS 6, no bugs, it fine, the screen reduce its size automatically once the keyboard shows up. IOS 7 behavior: |
I am also facing the same issue in android devices for both phonegap applications and android default thin browsers. If the screen contains any input field at the bottom of the screen, then only this issue is occuring. I tried to create empty dom element after last input field and dynamically updating height of the dom when last input field is getting focus. But it is giving flicker behaviour while changing the height of the dom. Is anyone having proper solution to fix this issue. |
Would it possible for any of you to make a test page demonstrating the |
As mentioned in the above comment, I tried to include empty dom element with height as 0 at the end of last input field in the page. On focus event of all input fields, making the height of empty dom element as pageheight/2. Flickering issue is resolved by doing the dom height change with jquery .animate method. On blur event height needs to be reset to 0 again. With this approach, we can able to move the input to visible area if virtual keyboard displays. |
@srini07ec53 I'm not part of the jQuery Mobile team, but I help to test, whenever I can and I have been around for some time to know how they want it. Remember, that if you want somebody to help you, it is a lot easier if you make it easy for them, in this case by making a test page demonstrating the issue. Have you taken a look at the contributing guide for instructions? https:/jquery/jquery-mobile/blob/master/CONTRIBUTING.md |
We really need someone to post a simple test page reproducing this before we can properly look into it. Please see the link posted by @Ruffio above and create a simple jsbin test page reproducing the issue and we will be happy to look into it. |
i have the same issue, it works perfectly disabling the full screen mode of the app. |
I'm having the same error in JQM 1.4.5, android 4.4.2 full screen mode. Has anyone found a way to resolve this problem, not by disabling full screen mode of the app. I have opened this as a new issue (I've only just found this thread) and I have posted sample code. There must be some kind of jquery fix for this issue? |
it worked changing config.xml preference "fullscreen" to "false". |
I'm still experiencing this issue: Android soft keyboard hides input fields in phonegap app
|
As soon as I changed config.xml preference "fullscreen" to "false" ps: I`m using Cordova + net.yoik.cordova.plugins.screenorientation plugin |
Has this been fixed? I'm getting this problem with Android. The virtual keyboard does not push the screen up enough, and the input box is hidden. Its been almost 5 years and there's still this issue going on lol. |
I never found a way round it.... I'm just not running my app in full screen mode which is annoying!! |
This is amazing... more than 5 years and still having the same problem. Thanks Android... |
with the following configuration works perfectly. |
Well, there is a work around for this that worked for me , you simply have to give ids to your input field and then do this:
|
Please be advised that above solution doesn't work with firefox mobile. Its rare case , but still. So you can exclude firefox using following condition
|
{{ 'WORK_HISTORY' | translate }}{{ 'SAVE' | translate }} {{ 'SAVE' | translate }}{{ 'YOUR_EXPERIENCE?' | translate }}{{ 'DELETE_WORK_HISTORY' | translate }}
{{ 'JOB_TITLE' | translate }}
Please check the above code, i need to highlight the input text field what i have selected. But in android i am fail. In iOS it is working fine. I tried almost all possibility's from stackoverflow,github,ionic framwork. Please help me out. Thanks in advance. |
hello, this code worked for me , you don't need to give ids to your input field: $(document).on('pageinit', '[data-role="page"]', function () { |
When looking at http://jquerymobile.com/test/#docs/forms/forms-text.html and tapping on the text input at the bottom of the page, a virtual keyboard appears (as expected). The problem is that the virtual keyboard overlaps the focused text input. So while I type, I can't see what is being typed. I also cannot scroll down further to the bottom to see the text box, because the page always snaps back up.
I have reproduced this issue on both an Android 2.1 and Iphone (IOS 4.1) device, both with native browsers.
The text was updated successfully, but these errors were encountered: