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

Mouse event handlers are not called on TextArea

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • fx2.1
    • 7-pool
    • javafx

      Controls consume mouse events, so they don't bubble up to their parents. But normally one can register a handler on a control and it gets called (before the event is consumed).

      TextArea, however, has ScrollPane as a child. ScrollPane is a control, hence it consumes the mouse events and doesn't let them bubble to the TextArea. As a result of that, no mouse event handlers registered on TextArea are ever called.

            leifs Leif Samuelsson (Inactive)
            psafrata Pavel Ĺ afrata
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: