Repository navigation
fix(mobile): deliver the first tab selection after Duo folding - #22979
Merged
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After a pose change, a Screens mount transaction could clear the pending user-selection flag before UIKit delivered the selection event. Vendor Screens t3.31 with upstream fixes #4862 and #4890. Extend Reanimated screen recognition to v5 containers so returning to a cleared tab does not delay removing its old detail and crash.
Verified on a clean Duo native client: first tap in both directions after folding, details in both tabs, next-row navigation, cancelled back swipe, and Back to list. Native event logs confirmed JS received the first selection. Mobile typecheck and focused tests passed.
The vendored tarball's source is published as t3-v5.0.0-t3.31 and lands on the fork with pingdotgg/react-native-screens#3. This layer contains no search-observer swizzle; that is #23146.
Implemented with Claude Opus 5.5 in Claude Code; integrated and reviewed with GPT-6.1 in Codex.
Motion verification
Fresh, real-time 30 fps recordings from the exact commits labeled in the videos, using fingerprint-matched debug native clients. Black cards mark cuts between displays.
Before
After
These recordings demonstrate stale detail removal and the second-tap crash fix. They do not reproduce the approximately 150 ms first-tap race: automated taps landed 1–6 seconds after unfolding, so this video is not proof of that timing fix.
Unfold-after-sheets assertion
Unfolding after using folded sheets hit a React Native touch-handler double-detach assertion in one of two runs at both
ee9cd8c1b4aandfe16f614bef. Screens t3.35 in #23149 fixes it: the touch handler is attached and detached only when that changes something.Restack
Restacked onto main
a12d6ed942on 2026-10-21. The commits are unchanged apart from lockfile peer strings. The recordings above show the pre-restack commits they name.