I have to catch input from the user using cocos2d-html5. EditBox component has a glitch with zOrder. Everything that is set to be above it happens to be under it. As for the other components (TextFieldTTF, UICCTexField) - they are not visible in the layer (and/or scene) and therefore maybe were not added. Any help?
1
There are 1 best solutions below
Related Questions in COCOS2D-HTML5
- Cocos2D-JS can't load json file exported from CocosStudio
- How GlobalZOrder works in cocos2d-js?
- How to remove initial background image when starting a cocos2d-html project?
- Cocos2d html5 onTouchEnded is not working
- Cocos2d-x JS 3.7.1 touch event MAC issue
- Best way to transition between multiple Cocostudio defined scenes
- iOS app loads html , can I change the url prefix
- Does Cocos2d-js use a webview?
- Setting Schedule in Custom Layer and Callback Not Firing
- Open a website in new window and detect that redirect to another url
- Cocos2d js dynamic light
- Cocos2d-html5 - Restarting/quitting engine possible?
- cannot read property 'setTitleText' of undefined - ccui.Button
- What is Cocos2d-JS?
- Cocos2d-js sprite array touch event
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I have encountered similar problem like you, and I solved it by adding a function to EditBox.
When we need to add nodes above editBox, call editBox.setActive(false) and it would be under new added nodes, not editable. And remember to resume it by editBox.setActive(true) when new added nodes are removed.