On Tue, 19 Mar 2024 12:02:14 GMT, Marius Hanl <mh...@openjdk.org> wrote:

> But is it possible to scroll to an index that is negative?

Yes, both the negative value (``-1``) and the positive value, which is greater 
than the items count (to be precise ``last item index + 1``), are possible and 
indicate the direction in which the scrolling takes place.

The ``last item index + 1`` is already handled correctly. We only need to fix 
the handling of ``-1`` index.

Can you explain your second question in more detail?

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1326#discussion_r1530382582

Reply via email to