hsuanyi-chou / shadcn-ui-expansions

More components built on top of shadcn-ui.
https://shadcnui-expansions.typeart.cc/
MIT License
856 stars 38 forks source link

[bug]: Responsive modal is not scrollable when the content is larger than screen size #141

Closed rip32700 closed 2 weeks ago

rip32700 commented 2 weeks ago

Describe the bug

When the content of the responsive modal is large than the screen size, it's simply cut off but not scrollable making the modal unusable. You can reproduce it on the sample modal in the documentation if you resize the window small enough.

Affected component/components

ResponsiveModal

How to reproduce

  1. Go to documentation page -> ResponsiveModal
  2. Open the modal with the longer text example
  3. Resize the window

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

No response

Before submitting

hsuanyi-chou commented 2 weeks ago

fixed