Open BigDog1400 opened 9 months ago
@BigDog1400
Good catch. I will come up with sth
Related — it seems that this is at least partially fixed, in that if the Dialog Content exceeds the window height, a scrollbar is added; however, the content is truncated at the top.
Specifically, it appears the align-items: center
setting on data-part="positioner"
is causing the issue when content is longer than screen height on at least Chrome and Safari.
Hi, I'm using the Dialog component as a "Modal" component (similar to this one from Chakra-UI: https://chakra-ui.com/docs/components/modal), but when the content of the body in the Dialog surpasses the available window height, it doesn't add a scroll bar to the body. I'm wondering if this is something that's being missed from the Dialog component, or there should be an exclusive
<Modal/>
component that handles this.