Skip to content

fix(iOS, SplitView): Fix SplitViewHostController initialization #3054

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

Merged
merged 2 commits into from
Jul 22, 2025

Conversation

t0maboro
Copy link
Contributor

@t0maboro t0maboro commented Jul 22, 2025

Description

Initializing Host controller on didMoveToWindow is causing in losing some updates when the appearance coordinator was called earlier from finalizeUpdates. Props on the native side were already set, the native state was invalidated, but the appearance coordinator was skipped, because controller wasn't initialized at this point.

Changes

  • Updated a logic to consume appearance updates only after the controller was initialized.

Test code and steps to reproduce

Verified that the current app sets all props properly.

Checklist

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

@t0maboro t0maboro requested a review from kkafar July 22, 2025 07:42
@t0maboro t0maboro self-assigned this Jul 22, 2025
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.

Thanks for catching this. Looks good ✅

@t0maboro t0maboro merged commit fa6159b into main Jul 22, 2025
4 checks passed
@t0maboro t0maboro deleted the @t0maboro/fix-split-view-host-ctrl-init branch July 22, 2025 09:27
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.

2 participants