Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ScrollArea] Support customize ScrollAreaViewport content style #3307

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

qmhc
Copy link

@qmhc qmhc commented Jan 2, 2025

Description

I hope to add min-height: 100% style to the wrapper element of the content, but I can't achieve it now.

I used ScrollArea to encapsulate a Drawer that supports scrolling by default, but in some scenarios, users want the content to have a fixed 100% height, and this should be defined through CSS rather than additional component properties. Currently, it is not possible to perform any operations on the content element under ScrollAreaViewport from the outside.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant