panel.set("enabled", false)
-
I have a panel ("Container panel"), with several components of different types inside.
If I set the ContainerPanelContainerPanel.set("enabled", false);
non of the components inside respond to mouse clicking or dragging, that's fine!
I also have another panel inside, with mouseCallbacks enabled, and that panel responds to mouse events even if the ContainerPanel is disabled, why is that?
And is it possible to disable the ContainerPanel to "leak" mouse events to the panel inside? -
-
@d-healey said in panel.set("enabled", false):
@ulrik I believe my solution was to loop over the child elements and any that are panels I disable/enable along with the parent.
Ok, thanks for the tip