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

Flex is not flexing #2686

Open
RohovDmytro opened this issue Feb 12, 2025 · 1 comment
Open

Flex is not flexing #2686

RohovDmytro opened this issue Feb 12, 2025 · 1 comment
Labels
Platform: Android This issue is specific to Android Repro provided A reproduction with a snack or repo is provided

Comments

@RohovDmytro
Copy link

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

@github-actions github-actions bot added Repro provided A reproduction with a snack or repo is provided Platform: Android This issue is specific to Android labels Feb 12, 2025
@gorbypark
Copy link
Contributor

I have found that flex: 1 on a screen does not work at all and it's not related directly to fitToContent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: Android This issue is specific to Android Repro provided A reproduction with a snack or repo is provided
Projects
None yet
Development

No branches or pull requests

2 participants