fix: Close appearance menu when selecting a theme

fix: Position disclosure correctly when menu has submenu
fix: More reliably close context menus
This commit is contained in:
Tom Moor
2021-03-26 11:15:58 -07:00
parent 4166257283
commit 889186e510
3 changed files with 31 additions and 3 deletions

View File

@@ -59,7 +59,8 @@ type Props = {|
const Disclosure = styled(ExpandedIcon)`
transform: rotate(270deg);
justify-self: flex-end;
position: absolute;
right: 8px;
`;
const Submenu = React.forwardRef(({ templateItems, title, ...rest }, ref) => {