Open raksa opened 8 years ago
Hi, touchDownAction have been added in latest version, but unfortunately, it's empty implemented, the reason is that we simply can't open the keyboard automatically without user interaction, it's forbidden by most browsers. It's by design and I don't think it's possible to have a walk around here.
because i see in some game eg. Clash of Clans, they use this technique to make input chat more interactive. just click on a button and then keyboard opening with input box i just want to make my game like so and currently i'm testing on Android phone
Steps to Reproduce:
var editBox = new cc.EditBox(...);
editBox.touchDownAction(editBox, cc.CONTROL_EVENT_TOUCH_UP_INSIDE);
it not work on Web browser
in mobile device show error message "editBox.touchDownAction is not function"