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 builds found.
          loi Loi Ly created issue -
          loi Loi Ly made changes -
          Field Original Value New Value
          Risk Score 0
          loi Loi Ly made changes -
          Assignee Loi Ly [ loi ]
          loi Loi Ly made changes -
          Status To Do [ 10001 ] In Progress [ 3 ]
          xiuqin Xiuqin Wu [X] (Inactive) made changes -
          Labels FireflyCCB
          loi Loi Ly made changes -
          Story Points 3 2
          loi Loi Ly made changes -
          Resolution Done [ 10000 ]
          Status In Progress [ 3 ] Done [ 10002 ]
          xiuqin Xiuqin Wu [X] (Inactive) made changes -
          Epic Link DM-8731 [ 28568 ]

            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.