fix(core): adjust pop position of editing property menu in setting (#8308)

This commit is contained in:
Cats Juice
2024-09-19 15:17:53 +08:00
committed by GitHub
parent f6cd029c18
commit a38f291a01

View File

@@ -172,6 +172,10 @@ const EditPropertyButton = ({
onOpenChange: handleFinishEditing,
}}
items={editing ? editMenuItems : defaultMenuItems}
contentOptions={{
align: 'end',
sideOffset: 4,
}}
>
<IconButton onClick={() => setOpen(true)} size="20">
<MoreHorizontalIcon />