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

Tabpanel children return isRealVisible true when their panel is not selected.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.3
    • 8.0.2
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.0.3 S3
    • None

      reproduce with:

      <zk>
          <tabbox xmlns:w="client">
      <!--     render tab2 from start, to avoid having to select tab2 before checking visible. -->
          <custom-attributes org.zkoss.zul.client.rod="false"/>
              <tabs>
                  <tab label="Tab 1" />
                  <tab label="Tab 2" />
              </tabs>
              <tabpanels>
                  <tabpanel><button w:onClick="alert('Textbox isRealVisible returns '+zk('$tx1').$().isRealVisible())"/></tabpanel>
                  <tabpanel><textbox id="tx1" /></tabpanel>
              </tabpanels>
          </tabbox>
      </zk>
      

            SEFI SEFI
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h