Tabbox doesn't select second tab automatically when first tab is invisible

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 9.6.3
    • Affects Version/s: 7.0.1
    • Component/s: Components
    • None
    • None

      Problem Description:

      Tabbox doesn't select second tab when first tab is invisible at the beginning.
      come from forum post: http://forum.zkoss.org/question/92244/second-tabpanel-is-not-loading-if-first-one-is-hidden/

      Reproducing Steps:

      1. run the zul below:
        <zk>
            <tabbox>
                <tabs>
                    <tab id="first" label="First Panel" closable="false" visible="false"/>
                    <tab id="second" label="Second Panel" closable="false" visible="true"/>
                </tabs>
                <tabpanels>
                    <tabpanel visible="false">
                        First Panel
                    </tabpanel>
                    <tabpanel visible="true">
                        Second Panel
                    </tabpanel>
                </tabpanels>
            </tabbox>
        </zk>
        

      Expected:

      second panel's content shows up.

      Actual:

      second panel's content doesn't shows up.

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

              Created:
              Updated:
              Resolved: