One of the biggest pain of working with a lot of GUI libraries is the concept of recursive properties. When I set a parent’s property, does it propagate to the children or not? In cocos, this has been nicely fixed for things like alpha and color, but how about visibility?
I have a layer which contains a extension::TableView, and when I set the layer’s visibility to false, I expect the tableView to stop receiving touches, but it continues to receive touches, since only the parent’s property is changed.
How is this problem usually approached in cocos? Is it a bug?