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

    • Story
    • Status: Done
    • Resolution: Done
    • None
    • Firefly
    • 2
    • SUIT Sprint 2018-10
    • 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

            loi Loi Ly
            loi Loi Ly
            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.