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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.0.7
    • Fix Version/s: 5.0.8
    • Component/s: Components
    • Labels:
      None

      Description

      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>

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: