Skip to content

minHeight behaves erroneously with non integral values #10217

Closed
@shahankit

Description

@shahankit

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions