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

fix(iOS): full screen modal crash on paper #2336

Merged
merged 4 commits into from
Oct 4, 2024

Conversation

maksg
Copy link
Contributor

@maksg maksg commented Sep 6, 2024

Description

Full screen modal was crashing sometimes on Paper.
Fixes #2317.

Test code and steps to reproduce

Added Test2317 to tests.

Checklist

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

@maksg maksg force-pushed the @maksg/fix-paper-full-screen-modal-crash branch from e0c58eb to 9e16a3f Compare September 6, 2024 14:47
Copy link
Member

@kkafar kkafar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, the code change looks sensible, however let's put some more explanation on what happens here in the PR description please. Cause when someone comes back to this PR in a month he'll have no idea why the navctr could be null there.

@kkafar
Copy link
Member

kkafar commented Sep 12, 2024

Also, what's going on this this failing e2e CI on iOS?

@maksg
Copy link
Contributor Author

maksg commented Sep 12, 2024

Done

Copy link
Member

@kkafar kkafar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we're good here - thanks.

I'll merge this PR once CI passes.

@kkafar kkafar merged commit af30489 into main Oct 4, 2024
5 checks passed
@kkafar kkafar deleted the @maksg/fix-paper-full-screen-modal-crash branch October 4, 2024 10:15
ja1ns pushed a commit to WiseOwlTech/react-native-screens that referenced this pull request Oct 9, 2024
## Description

Full screen modal was crashing sometimes on Paper.
Fixes software-mansion#2317.

## Test code and steps to reproduce

Added `Test2317` to tests.

## Checklist

- [x] Included code example that can be used to test this change
- [ ] Ensured that CI passes

---------

Co-authored-by: Kacper Kafara <kacperkafara@gmail.com>
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.

Navigating to a full screen modal with custom header props causes crash
2 participants