-
Notifications
You must be signed in to change notification settings - Fork 25k
Closed
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
Reporting Bugs
Report a single bug per issue.
Since issue #8960 has so many bugs some of which turned out to be normal behavior per the Flexbox spec, I figured we need a new issue that focuses on an actual, definite bug
Here is the issue, first reported by @EyalSi
I've made a simple version of the code posted by @EyalSi in #8960 that shows an interesting definitely buggy behavior:
The only difference in the two screens below is a single extra "." after the last "test"
@kulmajaba there is more buggy behavior that I've encountered that may or may not be related to this
<ScrollView >
<View style={{flexDirection: 'row',flexWrap:'wrap', backgroundColor: 'orange'}}>
<View style={{margin: 15, backgroundColor: 'yellow'}}>
<Text style={{fontSize:20}}> test test test test </Text>
</View>
<View style={{margin: 15, backgroundColor: 'yellow'}}>
<Text style={{fontSize:20}}> test test test </Text>
</View>
<View style={{margin: 15, backgroundColor: 'yellow'}}>
<Text style={{fontSize:20}}> test </Text>
</View>
<View style={{margin: 15, backgroundColor: 'red'}}>
<Text style={{fontSize:20}}> test.. </Text>
</View>
</View>
<Text>
TEST
</Text>
</ScrollView>This is only an issue when setting margins. If you set padding instead there is no issue.
Additional Information
- React Native version: 0.43+
- Platform: iOS and Android
- Development Operating System: MacOS
- Dev tools: Expo
Metadata
Metadata
Assignees
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.

