Cocos2d TextField Focus Problem

this problem is simple i’m calling field->requestFocus(); and/or field->setFocused(true); on a cocos2d::ui::TextField object but nothing happens, i start typing and nothing is appearing, and when i click on the TextField with my mouse it starts typing like normal, can you please help me, Thanks for reading!

Does it work in cpp-tests?

yeah it does, I Figured it out! it turns out i need to call attachWithIME(); to attach the keyboard or detachWithIME(); to detach it, it has nothing to do with Widget Focus :sweat_smile: Thanks for the reply <3

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.