Skip to content

Commit

Permalink
fix(form): remove unnecessary placement prop for popover dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Aug 19, 2022
1 parent 8b1e844 commit 15316c1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/sanity/src/form/components/EditPortal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,7 @@ export function EditPortal(props: Props): React.ReactElement {
}

return (
<PopoverDialog
onClose={onClose}
referenceElement={referenceElement}
placement="auto"
title={header}
>
<PopoverDialog onClose={onClose} referenceElement={referenceElement} title={header}>
<PresenceOverlay margins={PRESENCE_MARGINS}>
<Box padding={4}>{children}</Box>
</PresenceOverlay>
Expand Down

0 comments on commit 15316c1

Please sign in to comment.