shadcn-ui / ui

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
https://ui.shadcn.com
MIT License
58.59k stars 3.19k forks source link

[bug]: ScrollArea not working inside ResizablePanel #3548

Closed burakcan closed 3 weeks ago

burakcan commented 3 weeks ago

Describe the bug

When ScrollArea is rendered under a ResizablePanel (doesn't matter at which level), scroll doesn't work. It just acts like overflow-hidden.

Affected component/components

ResizablePanel, ScrollArea

How to reproduce

  1. Create a layout with 2 ResizablePanels and put SrollArea inside them with some long content.
  2. Try to scroll

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

Latest Chrome

Before submitting

burakcan commented 3 weeks ago

Noticed it's probable a me problem. Closing

shirecoding commented 1 week ago

i seem to have the same issue can you explain how you solved it? thanks