Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-6021

Active sidebar element goes out of sync when there are multiple tabs

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • State Management
    • None
    • 3

    Description

      Select a collection in the sidebar, say collection1. Open another collection in a new tab (collection2). The tab with collection2 is now active and the sidebar shows collection2 as active. Now click on the first tab (collection1). collection2 is still active in the sidebar.

      The right way to fix this probably involves having global state of where we are in the app. Probably a context provider? Maybe a router?

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: