Repository navigation
Conversation
Reopened from pingdotgg#32095 and squashed onto current main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
wSedlacek
force-pushed
the
t3/fix-mobile-search-reopening
branch
from
November 14, 2026 22:46
cc19381 to
349237e
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Problem
Returning to Home after opening a thread could reopen an empty search field. This happened when the thread covered Home before the search field's blur updated its state. On iOS, the integrated search could also leave an empty field in
expandedmode after closing it.Change
On iOS, restore native search only when a query remains or the Duo keeps an empty search open, and autofocus only when search should be restored. On Android, close empty thread and pull request searches when Home is covered. Added focused state coverage for empty search restoration.
Scope and approval
This is a focused fix for an obvious mobile search bug. The changes are limited to mobile search state and toolbars on iOS and Android.
Verification
The focused unit tests and
check:changedpassed. On an iPhone 17 Pro, opening search, opening a thread, and returning to Home left search closed. Query search still restores on return. Web and desktop are not applicable.GPT-6 / Codex
🤖 Generated with Claude Code