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

WebView renders vertical scrollbar even when content completely fits

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 8, 9
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Subcomponent:
      web

      Description

      WebView always renders a vertical scrollbar even in the case where there is no need for one. The horizontal scrollbar is correctly drawn only when needed.

      To reproduce:

      1. Load http://google.com in HelloWebView

      2. BUG: there is a vertical scroll bar but it doesn't do anything.

      3. Resize the window to be smaller vertically until the content no longer fits

      4. An active scrollbar will be rendered.

      5. Resize the window larger vertically until the content fits in the window

      6. BUG: The scrollbar remains

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mbilla Murali Billa
                Reporter:
                kcr Kevin Rushforth
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: