-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
BugPlatform: iOSiOS applications.iOS applications.Priority: MidResolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
- I have reviewed the documentation
- I have searched existing issues
- I am using the latest React Native version
A Text
component with about 500-600+ lines of text renders completely blank.
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 9.3.0
Yarn: Not Found
npm: 5.8.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.4 => 0.55.4
Steps to Reproduce
import {
Text,
View,
ScrollView
} from 'react-native';
const text = ".\n".repeat(600)
export default class App extends Component {
render() {
return (
<View style={{
flex: 1,
justifyContent: 'flex-start',
alignItems: 'center',
backgroundColor: '#F5FCFF',
}}>
<ScrollView style={{flex: 1}}>
<Text>{text}</Text>
</ScrollView>
</View>
);
}
}
At 600 lines there's no rendering of the text component, at 200 it renders fine.
Expected Behavior
I expected the normal behavior of a Text
component embedded in a ScrollView
. For an example, render the above code with a repeat value of 200 instead of 600.
Actual Behavior
Nothing is rendered, just a blank area where the text should be.
Metadata
Metadata
Assignees
Labels
BugPlatform: iOSiOS applications.iOS applications.Priority: MidResolution: LockedThis issue was locked by the bot.This issue was locked by the bot.