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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • No version
    • None
    • None
    • 3
    • Not Needed
    • Iteration Lobster, Iteration Manatee

    Description

      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: 
      

      Attachments

        Activity

          People

            rhys.howell@mongodb.com Rhys Howell
            maurizio.casimirri@mongodb.com Maurizio Casimirri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: