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

Listbox 's scrollbar position is not currect after invalidate() (zk max only)

    Details

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

      Description

      <zk>
      <!-- <custom-attributes org.zkoss.zul.listbox.rod="false"/> -->
      <!-- <custom-attributes org.zkoss.zul.grid.rod="false"/> -->
      <zscript><![CDATA[
      Object[] o = new Object[300]
      ]]></zscript>
      <button label="invalidate">
      <attribute name="onClick">
      lb.invalidate();
      grid.invalidate();
      </attribute>
      </button>
      <hlayout>
      <listbox id="lb" width="100px" height="300px">
      <listitem label="item" forEach="${o}" />
      </listbox>

      <grid id="grid" width="100px" height="300px">
      <rows>
      <row forEach="${o}">item</row>
      </rows>
      </grid>

      </hlayout>
      </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: