-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Fix Android overflow for horizontal scroll container #22693
Fix Android overflow for horizontal scroll container #22693
Conversation
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed. If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’m worried this will break existing products that rely on this behavior. Can you make it a prop controllable through JS instead?
@vdimitrovv could you address @sahrens's comments? |
@sahrens fair point. Linking it to the @cpojer I'll be addressing it shortly. Life and work keep getting in the way 😬 I managed to delete my previous react-native fork. Can someone edit this PR and point it to |
Hey @vdimitrovv did you have any chance to address our concerns? |
@vdimitrovv feel free to create a new PR :) |
@computerjazz I'm not sure that this Android overflow issue is still an issue with the latest version of react-native. I will upgrade the repository I'm working on soon and will submit a new PR if necessary. Also, I probably should have mentioned that the issue was spotted on an Android TV build. |
This change fixes an overflow issue related to horizontal scroll views. Currently, any child
<View/>
within a horizontal<FlatList/>
will be clipped by default and this change aims to fix this issue.Changelog:
[Android] [Fixed] - Fixed an Android overflow issue with horizontal scroll views
Test Plan:
<FlatList/>
with styled items havingscale: 2
and a border around each item