Skip to content

feat: allow passing minHeight and minWidth to contentContainerStyle #1560

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

andreialecu
Copy link

@andreialecu andreialecu commented Mar 14, 2025

Description

Fixes (issue #)

Fixes this upstream issue: PedroBern/react-native-collapsible-tab-view#335
Related: #517

I'm not sure why other contentContainerStyle props are not explicitly allowed, but minHeight and minWidth seem like they should be.

I have confirmed that this fixes the upstream issue linked.

Reviewers’ hat-rack 🎩

  • [ ]

Screenshots or videos (if needed)

Before:

Simulator.Screen.Recording.-.iPhone.14.-.2023-04-22.at.11.04.33.mp4

After:

Simulator.Screen.Recording.-.iPhone.16.Pro.Max.-.2025-03-14.at.12.54.41.mp4

Checklist

@andreialecu
Copy link
Author

@naqvitalha please could you take a look? It's a simple change.

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