-
Notifications
You must be signed in to change notification settings - Fork 2.4k
JQM 1.2 Alpha: Popup with form quickly opens and closes android keyboard can't input text. #4797
Comments
Also tested on Samsung Galaxy SIII, same issue. Keyboard closes when focusing on form field. |
I just tested the form example in the docs on Android 2.1, 2.2, 2.3, 4.1 and in all cases, the form opened fine and I was able able to enter text into the inputs so I cannot reproduce. The only oddness I saw was that when I clicked on an input in our 2.2 and 2.3 devices, the appearance of the on-screen keyboard triggers a re-position of the popup to center itself inside the now smaller viewport which is actually good, but it adds a re-draw. Can you reproduce this issue on our docs page or just in your code? If the latter, we need a test page to review. |
Hi Todd, I've justed tested the latest docs page (http://jquerymobile.com/test/docs/pages/popup/index.html) again and the issue is still their. This time I've tested on Samsung Galaxy S2 GT-I9100 (Android 4.0.3) & S3 (Android 4.1) which gives same issue as before Here's the exact behaviour I get per device: Samsung Galaxy S2 and Samsung Galaxy S3:
Just uploaded a Video to demonstrate the issue: http://youtu.be/0lxCgVX4m70 Samsung Gio:
Hopefully this gives a better understanding towards fixing the issue. Thanks! |
Thanks, we're looking at this now. |
Hi I have similar issues when I tested my own simple popup using my google nexus 7. I cannot input text; the popup just jumps around on the screen. Here's my test URL: http://regretless.com/stuff/jQueryMobile/jQueryMobilePopup.html Worked great in firefox ;) but doesn't work on my nexus 7. Thanks |
Sorry just to clarify my statement. I meant that it works great in my firefox browser on my desktop. It does not work under chrome on my nexus 7. As far as I know firefox for android is yet compatible with Android 4.1.1 or else I'd like to try. Thanks |
…g reposition - Fixes: #4797 (hopefully)
Please try again with the latest jQuery Mobile. You can try the form popup on the documentation page. If you can still reproduce this problem, please reopen this issue. |
This issue is still occurring on my Samsung Galaxy S3 (Android 4.0.4) when navigating to the documentation page. Just tested it a few seconds ago after clearing cache. The keyboard input opens for a few seconds and then closes after the popup position adjusts. The issue is NOT occurring on my HTC EVO (Android 2.3.5). |
Are you sure you are testing the latest JQM version? The issue is no longer there on my device. Note there is one little thing: |
Ah your link worked, thanks! I was loading from http://jquerymobile.com/demos/1.2.0-alpha.1/docs/pages/popup/index.html thinking that was the latest documentation page, but I'll use your link (/test/docs/pages/) going forward. I do still get the window position adjustment after about a second, but that is minor. Thanks |
Good to hear we're on the right track. What versions of Android are you testing on so we can confirm? |
I just tested on my Nexus S running Jelly Bean and it works as expected. The popup re-positions itself in the middle of the screen once the keyboard comes up. |
I can also confirm that it is now working on using Galaxy S2 with ICS Android 4.0.3 I was having the same issue. Related entry in the forum => http://forum.jquery.com/topic/popup-input-loosing-focus-on-mobile-when-selected Can you share when these code changes will be reflected to any publicly announced version of jqm? |
I've just tested the popup from within an Android WebView and there is some kind of lag going on, it takes a while for the keyboard to load/popup and when typing the letters don't appear immediately but only after a short time.. Other jqm fields in WebView don't have this, so I'm assuming theirs still a bug in the jqm popup :/ I'm using the latest jqm javascript file (http://jquerymobile.com/test/js/jquery.mobile.js) |
…g reposition - Fixes: jquery-archive#4797 (hopefully)
Was this supposed be fixed in 1.2.0 final? It is fine when the keyboard is in overlay behavior. _Edit_ |
I know this one was closed, but same problem here with JQM 1.3.1 (JQ 1.9.1) and Android 2.3.7 on Motorola Motoluxe. I can not input text in "Sign in" example (http://view.jquerymobile.com/1.3.1/dist/demos/widgets/popup). Keyboard open itself fine, but as soon as I input the first letter it desappear. |
Same with JQ 1.10.1. Should I open a new issue on the bug tracker ? |
@esaracco - Yes please. Thanks! |
On my Samsung Galaxy SII (ICS) the Popup with a form is opened, when I click a form field the keyboard comes up and while the popup is trying to reposition itself (to data-position-to="window") the keyboard closes again. Making it impossible to input any text into the form fields. Tested jquerymobile.com/test/ in Android WebView, Chrome for Android and the default Android browser all have the issue.
The text was updated successfully, but these errors were encountered: