Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

Mobile Keyboards -- Highlighting all text by default when keyboard is opened (iOS vs. Android)

$
0
0
Hi, I have a Textfield in my game. When the user clicks on it, the iOS or Android keyboard pops up so they can type into it (and continue by pressing return/etc). The behavior is different: - On IOS, the keyboard opens with the text in it and the cursor is placed at the end, nothing is highlighted. Therefore, if you start typing you append to the text already in the field - On Android, the keyboard opens with the text in it and all the text is highlighted. Therefore, if you start typing you overwrite the existing text -- unless you touch again to place a cursor and turn off the highlight - (Also, on PC and Mac -- the behavior is the same as on Android, the text is highlighted when I mouse click into the textfield, and overwrites unless I click again or use arrow keys to unselect) I would like to make the behavior the same, and ideally have both keyboards work like the android (auto-highlight the text you are editing). Is this possible? --Sam

Viewing all articles
Browse latest Browse all 4709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>