Move the close button to the InteractivePopover and re-enable focus check

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • 3
    • Iteration Lobster, Iteration Manatee
    • Not Needed

      Move the close button from the client code directly in the InteractivePopover component since is part of the pattern, and use it as fallbackFocus instead of displayCheck: 'none'.

      https://github.com/mongodb-js/compass/blob/9201f82f27220ac9795cb1bba97627366d9b1441/packages/compass-query-history/src/components/toolbar/toolbar.tsx#L136-L137

                    tabbableOptions: {
                      displayCheck: 'none',
                    },
                    fallbackFocus: 
      

            Assignee:
            Rhys Howell
            Reporter:
            Maurizio Casimirri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: