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

minHeight behaves erroneously with non integral values #10217

Closed
shahankit opened this issue Oct 3, 2016 · 2 comments
Closed

minHeight behaves erroneously with non integral values #10217

shahankit opened this issue Oct 3, 2016 · 2 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@shahankit
Copy link

On providing minHeight with non integral values the children view with flex: 1, gets height = 0.

<View style={{minHeight: 1.23}}>
  <View style={{flex: 1, backgroundColor: 'red'}} />
</View>
  • React Native version: 0.33
  • Platform(s) (iOS, Android, or both?): both
  • Operating System (macOS, Linux, or Windows?): Mac
@leeight
Copy link
Contributor

leeight commented Oct 3, 2016

It works fine on the master branch.

image

@shahankit
Copy link
Author

Okay then it might be solved.

@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants