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

tabbox tab.invalidate() loses selected tab

XMLWordPrintable

    • None

      Steps to Reproduce

      call invalidate on the currently selected tabbox-tab

      https://zkfiddle.org/sample/1epksa/1-Tab-invalidate

      Current Result

      the tab becomes unselected
      components inside become non-functional
      e.g. the datebox in the example doesn't open anymore

      Expected Result

      preserve the tab selection after invalidate

      Debug Information

      Workaround

      unselect and select the tab manually after invalidation

            Tab selTab = tabbox.getSelectedTab();
            selTab.invalidate();
            selTab.setSelected(false);
            selTab.setSelected(true);
      

      https://zkfiddle.org/sample/1epksa/2-Tab-invalidate-workaround#source-2

            gordonhsu gordonhsu
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: