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

Mouse event handlers are not called on TextArea

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported: