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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Normal
    • 5.0.8
    • 5.0.7.1
    • Components
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: