4c08105e14
Summary: Fix issue #11769 When a view or text is created with style opacity (e.g. 0.2) and LayoutAnimation is enabled on Android, what we expected to happen is the view or text has opacity (e.g. 0.2). What actually happens is the view or text's opacity is always 1. In the following screenshot of the sample app, the odd numbered view/text's opacity should be 0.2. If we create them without LayoutAnimation, everything is good. But when we do with LayoutAnimation, the style opacity is not respected. ![Screenshot](https://github.com/vinceyuan/ReactNativeOpacityBugDemo/raw/master/ReactNativeOpacityBug.gif) Reproduced on rnplay.org https://rnplay.org/apps/JbdOpQ The sample project I created: https://github.com/vinceyuan/ReactNativeOpacityBugDemo You can try my fix on branch fix-react-native-issue-11769 https://github.com/vinceyuan/ReactNativeOpacityBugDemo/tree/fix-react-native-issue-11769 Closes https://github.com/facebook/react-native/pull/11770 Differential Revision: D4403096 fbshipit-source-id: 99c6831ab17eae304e09f23dbad387041d933a30 |
||
---|---|---|
.. | ||
libs | ||
src | ||
.npmignore | ||
DEFS | ||
DevExperience.md | ||
README.md | ||
build.gradle | ||
gradle.properties | ||
release.gradle |
README.md
Building React Native for Android
See the docs on the website.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.