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

Support contentContainerStyle paddingTop #10

Open
jsamr opened this issue Dec 9, 2019 · 1 comment
Open

Support contentContainerStyle paddingTop #10

jsamr opened this issue Dec 9, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@jsamr
Copy link

jsamr commented Dec 9, 2019

Currently, contentContainerStyle's paddingTop is overriden by header's height.

I suggest either:

  • Add a new prop, such as extraPaddingTop which will be added to headerHeight to infer top padding
  • Use Stylesheet.flatten to evaluate if user provided a paddingTop, and add this padding top toheaderHeight to infer top padding.
@iyegoroff
Copy link
Owner

Hi @jsamr , sorry for late reply - I just don't have enough time right now to revisit this. Please feel free to implement this feature the way you prefer and open a PR.

@iyegoroff iyegoroff added the enhancement New feature or request label Dec 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants