Scroll position jumps up when clicking on scrollbar

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • 8.0.5
    • Affects Version/s: 8.0.2, 8.0.4.1
    • Component/s: Components
    • Security Level: Jean
    • None
    • Environment:

      so far only reproduced in Chrome
      FF/IE/Edge/Safari don't show this problem

    • None

      Steps to reproduce the issue:

      1. Have a listbox with lots of items and ROD enabled
      2. scroll to the bottom, ROD should be triggered to render the items near the bottom of the listbox
      3. click the scrollbar, should see the scroll position suddenly jumps up, which should not happen.

      <zk>
      	<zscript><![CDATA[
      		ListModelList model = new ListModelList();
      		for (int i = 0; i < 300; i++) {
      			model.add("test " + i);
      		}
      	]]></zscript>
      	<div>
      		<listbox id="box" model="${model}" height="300px">
      			<custom-attributes org.zkoss.zul.listbox.rod="true"/>
      		</listbox>
      	</div>
      </zk>
      

            Assignee:
            DevChu
            Reporter:
            christopherszu
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours
                7h