setVisible(false) of listitem is not work if the height of listbox is specified

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 5.0.9
    • Affects Version/s: 5.0.7.1
    • Component/s: None
    • None
    • None

      as code below,
      1. click 'hide list item' button
      2. click 'hide list cell' button
      3. click 'hide div' button

      the content still visible
      click 'hide list cell' or 'hide div' directly is ok.

      <zk>
      	<listbox height="100px">
      		<listitem id="li">
      			<listcell id="lc" label="list cell">
      				<div id="div">div</div>
      			</listcell>
      		</listitem>
      	</listbox>
      	<button label="hide list item">
      		<attribute name="onClick">
      			li.setVisible(false);
      		</attribute>
      	</button>
      	<button label="hide list cell">
      		<attribute name="onClick">
      			lc.setVisible(false);
      		</attribute>
      	</button>
      	<button label="hide div">
      		<attribute name="onClick">
      			div.setVisible(false);
      		</attribute>
      	</button>
      </zk>

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

              Created:
              Updated:
              Resolved: