iOS Text input no longer opening keyboard
Hi All.
So recently we just switched away from using MouseEvents to TouchEvents when we target iOS due to performance (found out about that from this thread http://forums.adobe.com/message/5346703#5346703). But this lead to a bug with TextFields that are set to TextFieldType.INPUT.
I narrowed it down to Multitouch.mapTouchToMouse = false. Setting this to false will no longer allow you to touch/tap on a text field and bring up the iOS keyboard. I also set the text field's "needsSoftKeyboard" to true but that did not fix the issue (it was suggested in a few other threads). Once I set Multitouch.mapTouchToMouse to true, everything works fine again.
Has anyone else experienced this issue or knows how to fix it? Is this a bug?
I do have a work around right now, but not ideal. I add an event listener on my text field for TOUCH_TAP. In the callback, set the stage.focus = textField and then textField.requestSoftKeyboard(). Then I add an almost invisible overlay to the stage to act as a click shield so that anytime the screen is tapped, I set stage.focus = null and remove that overlay click shield. Again, its not ideal but is a work around for it.
Thanks
