|iOS, Safari: open keyboard with setFocus() for Text [message #1785876]
||Sat, 21 April 2018 18:52
| Jürgen Kilian
Registered: July 2009
when opening the url of a RAP application on iOS (Safari and Firefox), the on-screen keyboard opens if the user taps on a Text widget.
If the same widget gains the focus via program code, e.g. by a call to
widget.setFocus() in some event handler of another widget, it still gets the focus, i.e.
gainFocus handlers are triggered, browser renders it with a blue border color, but iOS does not open the keyboard and there is no caret inside the textfield.
In this state even an additional tap into the text field doesn't open the keyboard!
The only way to open the keyboard is a tap at some other widget - to remove the focus - and then tapping it, so it gains the focus via actual user interaction.
Is there any way to set focus and open the keyboard programmatically in some event handler or a serverPushSession?
Powered by FUDForum
. Page generated in 0.01945 seconds