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

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

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Minor - P4 Minor - P4
    • No version
    • Affects Version/s: None
    • Component/s: State Management
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 3
    • Not Needed

      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?

       

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

              Created:
              Updated:
              Resolved: