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

Listbox with listgroup's scrollbar position is not currect after invalidate()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.0.8
    • 5.0.7
    • Components
    • None

      After scroll to bottom, then scroll to top, the scroll will move to middle after each sort (or invalidate())

      <zk>
      <zscript><![CDATA[
      Object[] o = new Object[30];
      ]]></zscript>
      <button onClick="lb.invalidate();" label="invalidate" />

      <listbox id="lb" width="100px" height="300px">
      <listitem label="item" forEach="${o}" />
      </listbox>

      </zk>

            jumperchen jumperchen
            jimmyshiau jimmyshiau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: