镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

fix: reuse large-content viewer interaction on reattachment - #627

Open
robmaceachern wants to merge 1 commit into
mainfrom
robmaceachern/reuse-large-content-viewer-interaction
Open

robmaceachern wants to merge 1 commit into
mainfrom
robmaceachern/reuse-large-content-viewer-interaction

Conversation

@robmaceachern

Copy link
Copy Markdown
Member
🤖 Agent details

Contribution: Implementation and PR description

Agent: Codex

Session: Local Codex session

Reattaching a large-content viewer container currently installs another interaction, including when it returns to the same window. Reuse the existing interaction so detach, reattach, and movement to another window keep one interaction with the same identity.

The new regression fails on unchanged main (two interactions after reattachment and three after movement) and passes with this fix. All eight AccessibilityContainerTests pass through Tuist on iPhone SE (3rd generation), iOS 17.5 / Xcode 26.5; pinned SwiftFormat passes for all 249 tracked Swift files.


This response was drafted with AI assistance.

Keep the container's existing interaction when it returns to a window,
avoiding duplicate interactions after detachment or movement. Add a
rendered-container regression for detach, same-window reattachment,
and movement to a second window.

---
*This response was drafted with AI assistance.*
@robmaceachern
robmaceachern marked this pull request as ready for review October 6, 2026 20:38
@robmaceachern
robmaceachern requested a review from a team as a code owner October 6, 2026 20:38

This branch has not been deployed

No deployments
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