-
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
Wrong initial state using useNativeDriver: true and production bundle #16003
Comments
Temporal solution does not really work always. At some point, if I click something in the list, the bug reappears. |
I'm not sure if it is the issue but could you try with this PR #15919? |
Ok, gonna try that and let you know. @janicduplessis I am having a hard time building my app using your PR. I followed all the instructions http://facebook.github.io/react-native/docs/android-building-from-source.html but I am having problems with external dependencies (had to disable some). But basically, I have Realm. The app builds and works in dev but I get errors in prod... Not sure if there is some compatibility issue. So maybe I need to set up a totally new repo without external third party modules. Anyway, maybe there is a place (Slack) we can chat? I could use some help. |
@ferrannp Hmm I'm not sure what could cause the issue in prod only. I'm around on the Expo slack if you want to give me more info I can try to help. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions. |
Is this a bug report?
Yes.
Have you read the Contributing Guidelines?
Yes.
Environment
react-native -v
: 0.48.3node -v
: 8.4.0npm -v
: 5.4.2yarn --version
: 1.0.2Then, specify:
Target Platform: Android O
Development Operating System: macOS
Steps to Reproduce
onScroll
event onFlatList
Animated.View
andAnimated.Text
. With statescrollY: new Animated.Value(0)
, the View should have 0 opacity and the text should be big (initial state).Expected Behavior
See gif:
Actual Behavior
The issue happens only in production and in my real device (Nexus 5X) which is now using Android O. I cannot reproduce it in Genymotion. Initial state is wrong and it goes ok just when touching and scrolling a bit.
Temporal solution
The text was updated successfully, but these errors were encountered: