UITextField not accepting keyboard input

Posted in General by Sat Back Entertainment Wed Nov 30 2016 15:45:11 GMT+0000 (UTC)·Viewed 264 times

Hello, I have been trying to follow your Sonar Learning YouTube videos for Cocos2D JS, particularly the one for UITextField at https://www.youtube.com/watch?v=LXmDdgcHQDw . I have been able to get the code to run and display the ccui.TextField node object, but when I click on the text field, I cannot enter any text via my Mac keyboard, as you demonstrated in your YouTube video. I am using Google Chrome Version 54.0.2840.98 (64-bit) and Cocos2d-JS v3.13 I created a video to demonstrate the problem. The link is below. I have breakpoints in the EventListener function textFieldEvent and the breakpoints hit. The logs to the console are also working. The problem is I cannot type any text into the UITextField after clicking on it. The breakpoints for ccui.TextField.EVENT_INSERT_TEXT: and ccui.TextField.EVENT_DELETE_BACKWARD: are never reached. Is there some setting I need to have to get the UITextField to work properly after I click on it? Thank you for any help you can provide. -------------------------------- https://www.youtube.com/watch?v=adrZ691A9I0 https://youtu.be/adrZ691A9I0 Code in GitHub: https://github.com/SatBackEnt/UITextFieldIssue
Markdown is allowed