Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3263

Scroll position jumps up when clicking on scrollbar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 8.0.5
    • 8.0.2, 8.0.4.1
    • Components
    • Security Level: Jean
    • None
    • 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>
      

            DevChu DevChu
            christopherszu 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