I want to use setInterceptsMouseClicks, in order to disallow clicks on child components. Is that possible?
To be specific:
I have a parent component, which contains a slider. In the parent component I set
In other words: clicks on this component are allowed, but not on child components (the second boolean parameter is for allowClicksOnChildComponents, which I set to false).
But I still can click on the slider an modify it. So clicks on the children are still working.
I guess, I am using setInterceptsMouseClicks the wrong way?
Is there a way, to prevent child components from getting mouse clicks? Without telling each child separately to ingore mouse clicks?
I am asking, because I want to forward mouse clicks manually to the children. Before forwarding them, I want to run certain actions first.