Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8119464

ScrollPane steals MouseClicked from parent

XMLWordPrintable

      I have called setOnMouseClicked on a parent component that has several child components. Some of the children also handle MouseClicked events. When I click on the component and the click is not over one of the children that handle Mouse Clicked then the parent's event handler is called - unless I put the children in a ScrollPane. When I do that the children respond to mouse clicks as they always did, but if I click inside an "empty" area of the ScrollPane the event handler for the parent is not called.

            miflemi Mick Fleming
            swpalmer Scott Palmer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: