I’m attempting to create a custom keyboard, using Button component in place of a keyboard stroke that will type into a text field. I was hoping I could utilize the EditBox component for this? But every time I click anywhere outside the input field (my buttons), it loses focus.
I require the typical text field functionality - like the blinking cursor that shows you what character you’re on, the ability to shift that cursor backwards into the string to edit it, and that scroll effect you get when the character length exceeds the form’s width that pushes the text towards the left.
What I’m creating will be used for both web browser and mobile.
Mobile wont utilize this custom keyboard. Instead, the desired result is for the mobile device’s native keyboard to appear instead of the custom art.
Is this possible to achieve? I’ve tried looking around for answers. Can’t seem to find any. I’ll keep looking around nevertheless.
Is there any more info I should provide?
Using version Cocos Creator 2.3.4
Any help is appreciated. Even if it’s just keywords to look up.