refactor: mobile popover UX (#2140)

This commit is contained in:
Aman Harwara
2023-01-18 01:00:23 +05:30
committed by GitHub
parent 7af4ecbc3d
commit baf77516fe
33 changed files with 237 additions and 117 deletions

View File

@@ -61,6 +61,7 @@ const AddItemMenuButton = ({
<Icon type="add" size="custom" className="h-5 w-5" />
</button>
<Popover
title="Add item"
open={canShowMenu && isMenuOpen}
anchorElement={addItemButtonRef.current}
togglePopover={() => {

View File

@@ -76,6 +76,7 @@ const ContentListHeader = ({
togglePopover={toggleDisplayOptionsMenu}
align="start"
className="py-2"
title="Display options"
>
<DisplayOptionsMenu
application={application}