Skip to content

Conversation

@t0maboro
Copy link
Contributor

@t0maboro t0maboro commented Dec 8, 2025

Description

Follow-up for: #3454
I decided to create a completely new doc because it's longer than I expected initially. Idk if this placement is okay, feel free to leave some suggestions on how we'd like to expose it.

(Putting the following information inside the doc doesn't make sense to me, because it may change, so I cannot guarantee the correctness of the information below for the future)
I checked other libraries how they handle flex:1 on iOS inside BottomSheet's content:

For all above, I was testing whether the following example is working

<BottomSheet {...props}>
  <View style={{flex: 1, backgroundColor: 'red'}} />
</BottomSheet>

Therefore, as for now, we have 2 options:

  • do not support flex on iOS (it's working fine on Android in RNScreens)
  • support flex with inconsistent layout between Android and iOS, allowing developers to style both components with flex, but with provided guidance from us, what outcome may they expect on which platform - this PR aims to describe these inconsistencies

For the future, we'll have a 3rd option: when the iOS 15 support will be dropped (we're dependent on the core RN team here; we're not aware of any timelines when this may happen), there's a chance that iOS implementation could be aligned with Android approach.

@t0maboro t0maboro changed the title chore: Add doc explaining the current state of FormSheets layout on android na ios chore: Add doc explaining the current state of FormSheets layout on android & ios Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants