<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Ajit,</p>
    <p>Thanks for checking, that is indeed a bit of a beginner mistake
      there... sorry for that. <br>
    </p>
    <p>I added the line, and it is much improved (luckily), but I still
      see issues 2 and 3.</p>
    <p>I can narrow down 2 a bit.  When there is only space to show a
      single row (or less than a single line), the scrollbar won't
      respond to clicks in the empty area.  When at least a full row is
      visible, then it starts working normally.<br>
    </p>
    <p>I wonder if it might be possible to warn if that line is missing
      somehow, or provide a different method to override that doesn't
      require calling super.<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 12/07/2023 11:26, Ajit Ghaisas
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:300C386B-93D0-4DB9-A4F6-384C8A806BF3@oracle.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <span style="font-size: 14px;">Hi John,</span>
      <div><span style="font-size: 14px;"><br>
        </span></div>
      <div><span style="font-size: 14px;">   This looks like a user code
          issue and not a JavaFX bug.</span></div>
      <div><span style="font-size: 14px;">   Most of the vertical
          scrollbar issues that you have mentioned get fixed by adding a
          call to "super.updateItem(image, empty);" as a first call in
          the cell factory method "<span style="white-space: pre; background-color: rgb(255, 255, 255);">protected
 void </span><span style="white-space: pre; background-color: rgb(255, 255, 255);">updateItem</span><span style="white-space: pre; background-color: rgb(255, 255, 255);">(</span><span style="white-space: pre; background-color: rgb(255, 255, 255);">Image
</span><span style="white-space: pre; background-color: rgb(255, 255, 255);">image,
</span><span style="white-space: pre; background-color: rgb(255, 255, 255);">boolean
</span><span style="white-space: pre; background-color: rgb(255, 255, 255);">empty)</span><span style="white-space: pre;">”</span></span></div>
      <div><br>
      </div>
      <div><span style="white-space: pre; background-color: rgb(255, 255, 255); font-size: 14px;">I am seeing an exception when I scroll fully down and then scroll up by clicking empty area on the vertical scrollbar. This looks like a separate issue though.</span></div>
    </blockquote>
    <p>I didn't see any exceptions, just that the scrollbar is
      unresponsive when clicking in the empty area when less than a full
      row is visible.</p>
    <p>--John</p>
    <br>
  </body>
</html>