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

Panel disappears when hflex="min" and open="false"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 6.5.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      windows 7, firefox 20, IE10

      Description

      When I load a zul file that creates a panel with open="false", the panel does not display when that panel has hflex="min".

      Here is a code snippet that shows the issue. You can run it in the sandbox.

       
      
      <zk>
      
      <vlayout spacing="1em">
      
      <span>Using firefox 20 and IE 10. </span>
      
      <span style="color:red">Attributes: hflex=min, open=false</span>
      
      <div style="border:dashed red 1px">
      	<panel hflex="min" open="false" title="Panel" border="normal" collapsible="true" >
      		<panelchildren>
      			This is your data. Why does this disappear when this is collapsed? Clicking the collapse button works as expected.
      		</panelchildren>
      	</panel>
      </div>
      
      Attributes:  hflex=min, open=true
      
      <panel hflex="min" open="true" title="Panel" border="normal" collapsible="true" >
      	<panelchildren>
      		This is your data. Why does this disappear when this is collapsed? Clicking the collapse button works as expected.
      	</panelchildren>
      </panel>
      
      Attributes: width=200px, open=false
      
      <panel width="200px" open="false" title="Panel" border="normal" collapsible="true" >
      	<panelchildren>
      		This is your data. Why does this disappear when this is collapsed? Clicking the collapse button works as expected.
      	</panelchildren>
      </panel>
      
      </vlayout>
      
      </zk>
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: