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
@t0maboro
Copy link
Contributor Author

t0maboro commented Dec 2, 2025

Regarding the latest updates for FormSheets on Android, it seems like it's no longer necessary. I'm closing this PR, but feel free to reopen if we have any use cases.

@t0maboro t0maboro closed this Dec 2, 2025
@t0maboro t0maboro deleted the @t0maboro/screen-background-component branch December 2, 2025 09:11
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