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

add scroll container option to ActionSheet component #3462

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

Conversation

adids1221
Copy link
Contributor

Description

ActionSheet support for ScrollView.
New scrollContainer prop to enable usage of ScrollView inside of ActionSheet.

Changelog

ActionSheet support rendering list inside ScrollView.

Additional info

#3396

@adids1221 adids1221 requested a review from Inbal-Tish December 17, 2024 14:30
@adids1221 adids1221 linked an issue Dec 17, 2024 that may be closed by this pull request
/**
* Whether to use ScrollView as the container
*/
scrollContainer?: boolean;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming convention in this case is more like 'useScrollView' or 'useScrollContainer' since it's a boolean and not element.
But anyways I wonder if we should add this prop at all or figure out in the component when the children height is greater then the container's and use the scrollview instead of a view.

@Inbal-Tish Inbal-Tish assigned adids1221 and unassigned Inbal-Tish Dec 18, 2024
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.

Not Scrollview inside renderSheet
2 participants