Skip to content

Commit

Permalink
fix(form): set fallback placement for type-select popover in array in…
Browse files Browse the repository at this point in the history
…puts
  • Loading branch information
bjoerge committed Oct 6, 2023
1 parent 4b3a183 commit 55b0039
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ import {
} from '@sanity/ui'
import {ArrayInputFunctionsProps, ObjectItem} from '../../../types'

const POPOVER_PROPS: MenuButtonProps['popover'] = {constrainSize: true, portal: true}
const POPOVER_PROPS: MenuButtonProps['popover'] = {
constrainSize: true,
portal: true,
fallbackPlacements: ['top', 'bottom'],
}

/**
* @hidden
Expand Down

0 comments on commit 55b0039

Please sign in to comment.