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,Paper): fix false-negative lookup result for parent view from content wrapper #2719

Merged
merged 3 commits into from
Feb 20, 2025

Conversation

kkafar
Copy link
Member

@kkafar kkafar commented Feb 20, 2025

Description

Closes #2717

For some reason on old architecture, when calling navigation.replace() the replaced screen receives willMoveToWindow: message from UIKit with
non-nil argument, defying my previous expectations.

On new architecture this works as expected: removed screen receives nil window & we do not run the content-wrapper-attachment logic.

Changes

Error is logged only on new architecture now.

Test code and steps to reproduce

WIP

Checklist

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

@kkafar kkafar merged commit df7a7d1 into main Feb 20, 2025
4 of 5 checks passed
@kkafar kkafar deleted the @kkafar/content-wrapper-not-under-screen branch February 20, 2025 11:58
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.

Failed to find parent screen controller
1 participant