Closed
Description
Description
Text
: display: none
won't work on Android for nested text elements.
React Native version:
System: OS: Linux 5.9 Manjaro Linux CPU: (8) x64 Intel(R) Core(TM) i7-8809G CPU @ 3.10GHz Memory: 2.58 GB / 31.28 GB Shell: 5.8 - /bin/zsh Binaries: Node: 14.16.0 - /usr/bin/node Yarn: 2.4.0 - /usr/bin/yarn npm: 7.15.0 - /usr/bin/npm Watchman: 4.9.0 - /usr/bin/watchman SDKs: Android SDK: API Levels: 28, 29, 30 Build Tools: 28.0.3, 29.0.0, 29.0.2, 29.0.3, 30.0.0, 30.0.1, 30.0.3, 31.0.0 System Images: android-22 | Google APIs Intel x86 Atom, android-23 | Google APIs Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-30 | Google APIs Intel x86 Atom_64, android-30 | Google Play Intel x86 Atom Android NDK: Not Found IDEs: Android Studio: 4.2 AI-202.7660.26.42.7351085 Languages: Java: 1.8.0_292 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: ^0.64.2 => 0.64.2 npmGlobalPackages: *react-native*: Not Found
Steps To Reproduce
Implement any component rendering this hierarchy of elements:
<Text>
<Text style={{ display: 'none' }}>Hello world!</Text>
</Text>
And run on Android.
Expected Results
"Hello world" should not be displayed on screen.