The selector menus, the export menu, and the overflow and interaction help popovers now all behave the same way in terms of focus management, dismissal, positioning, etc.
In this PR, I've also streamlined the CSS across all these components, simplified the DOM in a few places (unnecessary wrappers, etc.) and fixed a couple of flexbox alignment regressions that I've only just noticed.
I've left the DomainWidget alone for now because the toggling logic is more complex.
The selector menus, the export menu, and the overflow and interaction help popovers now all behave the same way in terms of focus management, dismissal, positioning, etc.
In this PR, I've also streamlined the CSS across all these components, simplified the DOM in a few places (unnecessary wrappers, etc.) and fixed a couple of flexbox alignment regressions that I've only just noticed.
I've left the
DomainWidget
alone for now because the toggling logic is more complex.