We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddb63ae commit 91f63a6Copy full SHA for 91f63a6
packages/@react-aria/overlays/src/useOverlayPosition.ts
@@ -250,7 +250,7 @@ export function useOverlayPosition(props: AriaPositionProps): PositionAria {
250
position: 'absolute',
251
zIndex: 100000, // should match the z-index in ModalTrigger
252
...position.position,
253
- maxHeight: position.maxHeight
+ maxHeight: position.maxHeight ?? '100vh'
254
}
255
},
256
placement: position.placement,
0 commit comments