Skip to content

feat(ios): Aggregating toasts when the container's window is nil#6

Draft
johnnewman-square wants to merge 2 commits intomainfrom
johnnewman/toast-aggregation
Draft

feat(ios): Aggregating toasts when the container's window is nil#6
johnnewman-square wants to merge 2 commits intomainfrom
johnnewman/toast-aggregation

Conversation

@johnnewman-square
Copy link
Copy Markdown
Contributor

@johnnewman-square johnnewman-square commented Dec 11, 2025

This updates toast aggregation so that toasts will continue to aggregate when the window is nil. This allows toasts to appear on the UI as long as their presenting controller is a part of a valid UIViewController hierarchy, regardless of whether its view is in the window.

This could be used by containers, like tab controllers, that remove unselected children from the view hierarchy while keeping them in the controller hierarchy.

Possible followup - introduce a new ViewEnvironment flag so that we can conditionally enable this behavior?

Checklist

  • Unit Tests
  • Documentation
  • Pull request title follows conventional commits

@johnnewman-square johnnewman-square requested a review from a team as a code owner December 11, 2025 21:14
@johnnewman-square
Copy link
Copy Markdown
Contributor Author

This PR also includes some GitHub action changes to update Xcode and iOS.

@johnnewman-square
Copy link
Copy Markdown
Contributor Author

Moving to draft. There are some downstream KIF failures related to this change. I'll need to iron out a plan to address these.

@johnnewman-square johnnewman-square marked this pull request as draft December 11, 2025 22:47
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.

1 participant