setInterceptsMouseClicks - what does "child" mean?

I would advise against that idea:

  • first the MouseEvent is relative to the positions of the component, so the information in the parent component mouseDrag will be off.
  • second the mouseDrag is only sent to the currently dragging after you pressed the button.
  • third you won’t be able to understand if you have an original MouseEvent or a forwarded, so it will be confusing.

If you could describe your use case/workflow it would be easier to suggest possible solutions.