Skip to content
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

Views inside Text render a document-icon on iOS 13.0 #26646

Closed
partiellkorrekt opened this issue Sep 30, 2019 · 1 comment
Closed

Views inside Text render a document-icon on iOS 13.0 #26646

partiellkorrekt opened this issue Sep 30, 2019 · 1 comment
Labels
Bug Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot.

Comments

@partiellkorrekt
Copy link

Rendering a View inside a Text-component causes react-native to draw a document-icon behind that view on iOS/ipadOS 13.0

React Native version:

System:
    OS: macOS 10.14.6
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
    Memory: 309.06 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 12.4.0 - /usr/local/bin/node
    Yarn: 1.15.2 - /usr/local/bin/yarn
    npm: 6.9.0 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.0, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.5791312
    Xcode: 11.0/11A420a - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0 
    react-native: ^0.61.1 => 0.61.1 
  npmGlobalPackages:
    react-native-cli: 2.0.1
    react-native-create-library: 3.1.2

Steps To Reproduce

To reproduce render the following jsx on iOS 13 (The margin is only there to simplify screenshots):

<View style={{ margin: 100 }}>
  <Text>
    <View style={{ width: 60, height: 70 }} />
  </Text>
</View>

As there are no backgrounds or borders set on any component, the code should only render whitespace.

Instead the code renders something like the following screenshot:
Bildschirmfoto 2019-09-30 um 10 52 35

For me this only seems to happen on iOS 13.0

@react-native-bot react-native-bot added the Platform: iOS iOS applications. label Sep 30, 2019
@partiellkorrekt
Copy link
Author

I've just seen that this is a duplicate of #26577

@facebook facebook locked as resolved and limited conversation to collaborators Oct 3, 2021
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Oct 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants