I'm having some difficulties with the ignoreEvents property
Layer A has a sublayer Layer B Both have a click handler.
Clicking Layer B shows a popup ( Layer C) Clicking Layer A hides the popup ( Layer C)
But each time I click Layer B it also triggers the click from Layer A. If I set Layer A's ignoreEvents property to true in the click handler, it still runs the code in the click handler of Layer A. Which results into showing and hiding the popup instantly. Am I missing something? Going crazy about this problem.