when using scrollarea h-fit and max-h the scroll area doesn't allow the user to scroll. #6659
Unanswered
MonkeeMan1
asked this question in
Q&A
Replies: 1 comment 1 reply
-
bump 😢 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to setup scrollarea but have ran into an issue:
I don't want the scroll area to default to height 96 if there is not a lot of content to display, as it creates alot of empty space. Ideally, it should be h-fit (to fit the content) and if it exceeds max-h-96, then it will use the scroll wheel. With the current code, the scrollarea doesn't allow the user to scroll down the list!
I have made a code sandbox below to replicate the problem:
https://codesandbox.io/p/devbox/eloquent-galois-m6trmt?workspaceId=ws_2QqxbGUtKp6EC2tBE5We1d
Beta Was this translation helpful? Give feedback.
All reactions