-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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] RefreshControl Position Bug #9249
Conversation
By analyzing the blame information on this pull request, we identified @janicduplessis and @UnoDeTantos to be potential reviewers. |
@@ -149,9 +149,11 @@ const RefreshControl = React.createClass({ | |||
}, | |||
|
|||
render() { | |||
var adjustedProps = {...this.props} |
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.
semi: Missing semicolon.
Will update and fix. I forgot you guys love the semicolon! |
@GantMan updated the pull request. |
1 similar comment
@GantMan updated the pull request. |
@GantMan updated the pull request. |
@GantMan updated the pull request. |
1 similar comment
@GantMan updated the pull request. |
Have you tried doing this fix in objc since it is only needed for iOS? Maybe try If that doesn't work let's add a |
sounds good, gonna check on that now. |
@GantMan updated the pull request - view changes |
@GantMan updated the pull request - view changes |
@janicduplessis - you were right. The iOS fix works great. This also helps keep the clutter out of JavaScript. Tested this in a local app, it worked perfect. |
@GantMan updated the pull request - view changes |
@GantMan updated the pull request - view changes |
@@ -33,6 +33,9 @@ - (void)layoutSubviews | |||
{ | |||
[super layoutSubviews]; | |||
|
|||
// Quick fix for iOS backgroundColor bug #7976 - To be removed on update | |||
if (self.backgroundColor == nil) self.backgroundColor = [UIColor clearColor]; |
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.
Nit: put if content on new line with brackets.
Just a few comments inline then this is good to go :) |
@GantMan updated the pull request - view changes |
Hey @janicduplessis feedback incorporated. Sorry for the delay, I didn't see the comments in my notifications 👍 |
@GantMan updated the pull request - view changes |
@GantMan Thanks! @facebook-github-bot shipit |
Thanks for importing. If you are an FB employee go to Phabricator to review internal test results. |
dcdf16a
Refresh bug #7976
This bug has persisted for 3 versions of React Native. Currently everyone is having to do a silly fix, documented in the bug. I spent an hour trying to find the source of the bug. Failing to find the issue quickly, I've just decided to make this simple bugfix.
According to @janicduplessis #7976 we will likely be re-writing this control in iOS 10.