Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-16034

TabPanel's state may get out-of-sync when tabs are removed

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: Firefly
    • Labels:
    • Story Points:
      2
    • Sprint:
      SUIT Sprint 2018-10
    • Team:
      Science User Interface

      Description

      selectedIdx is a state kept by TabPanel.  It's possible that selectedIdx is greater than the number of tabs due to adding and removing tab dynamically.

      Currently, this condition is handled in the render function of the component.  This visually appears correct, but the state is out of sync.

        Attachments

          Activity

          No work has yet been logged on this issue.

            People

            Assignee:
            loi Loi Ly
            Reporter:
            loi Loi Ly
            Watchers:
            Loi Ly, Xiuqin Wu [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.