Skip to content

Flex is not flexing #2686

@RohovDmytro

Description

@RohovDmytro

Description

Rendering a formSheet + fitToContent + setting flex: 1 to contentStyle + setting flex: 1 to the screen does not render anything, even a backdrop.

Steps to reproduce

  1. https://github.com/RohovDmytro/react-native-screams
  2. See example: "formsheet-flex-1"
  3. Nothing happens.

Snack or a link to a repository

https://github.com/RohovDmytro/react-native-screams

Screens version

4.7.0-beta.4

React Native version

0.76.7

Platforms

Android

JavaScript runtime

Hermes

Workflow

Expo bare workflow

Architecture

Paper (Old Architecture)

Build type

Debug mode

Device

Real device

Device model

Google Pixel 7

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Platform: AndroidThis issue is specific to AndroidRepro providedA reproduction with a snack or repo is provided

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions