Skip to content

Conversation

@t0maboro
Copy link
Contributor

@t0maboro t0maboro commented Oct 27, 2025

Description

Add new API to set background when screen or modal doesn't cover the full display

Corresponding PR in react-navigation: react-navigation/react-navigation#12813

Fixes https://github.com/software-mansion/react-native-screens-labs/issues/514

Changes

  • Added a new prop for setting a custom component as a screen background

Screenshots / GIFs

Here you can add screenshots / GIFs documenting your change.

You can add before / after section if you're changing some behavior.

Screenshot 2025-10-27 at 15 22 19 Screenshot 2025-10-27 at 15 22 25

Test code and steps to reproduce

Adding a new example (requires changes in react navigation, corresponding PR: react-navigation/react-navigation#12813)

Checklist

  • Included code example that can be used to test this change
  • Ensured that CI passes

@t0maboro
Copy link
Contributor Author

As discussed internally, we're considering not using SAV for FormSheet here #3336 , so the background component doesn't have any concrete use case atm. Moving this PR do draft until the situation will clear and the final decision will be made.

@t0maboro t0maboro marked this pull request as draft October 30, 2025 10:41
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