Tagged: x
-
AuthorPosts
-
January 5, 2017 at 9:09 pm #1318326
nathansjcorpParticipantI know this is a trivial question, but when using the search
Safari mobile search does not work when pressing “done” on the virtual keyboard only works on “GO”You can see for yourself on http://demo.theme.co/integrity-1/
Do you have a quick fix for this, because my client insist on fixing this.
Thank you!
January 6, 2017 at 12:09 am #1318441
RupokMemberHi there,
Thanks for writing in! It’s not a problem of X that needs to be fixed rather that’s how the browser or keyboard works. Some keyboards might not automatically trigger submit by pressing “done” and we can’t control this.
Hope this makes sense.
January 6, 2017 at 4:15 am #1318643
nathansjcorpParticipantHi
I think you can try this.The char 13 is fired as a keyTyped event, also a keyDown event is fired with the key: Keys.ENTER
This is where these events are fired https://github.com/libgdx/libgdx/blob/master/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/IOSInput.java#L415
You should be able to do if (key == ’13’) (done/enter has been pressed)
here is another link:http://stackoverflow.com/questions/11161289/mobile-safari-keyboard-form-submission
Let me know
January 6, 2017 at 1:48 pm #1319246
RadModeratorHi there,
Yes, but the mobile keyboard is different from the usual keyboard. It has different key codes, “Go” is simply the representation of “Return” key on the standard keyboard.
My question is, how do I get “Done” on my keyboard. I’m on my safari and there is no “Done” on the virtual keyboard.
Thanks!
January 12, 2017 at 2:49 am #1326898
nathansjcorpParticipantOk thanks
January 12, 2017 at 3:06 am #1326913
Rue NelModeratorYou’re welcome!
If you need anything else we can help you with, don’t hesitate to open another thread. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1318326 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
