Focus search input on navigation reselection - #3071
Conversation
|
I think you should use this like instead: |
|
Can we use requestFocusFromTouch() ? |
|
Please study requestFocusFromTouch() as I know it's focusing the search text and open the keyboard, no need for other code to open the keyboard |
|
Please be super careful with focus as we have had issues with this before (#1195). It is recommended to test this on api23 devices to make sure nothing weird happens. |
|
Updated the PR on current The full repository CI is green (ABI, APK assembly, lint, stable/prerelease unit tests, and I do not have an Android SDK/emulator in the author environment, so I have not claimed the requested API 23 device validation. Could a maintainer with an API 23 device/emulator please confirm that Search reselection opens the keyboard, leaving Search dismisses it normally, and it does not reopen unexpectedly? |
Summary
requestFocusFromTouch()without a separate explicit IME requestRisk containment
Validation
git diff --checkassemblePrereleaseDebug, lint, stable/prerelease unit tests, and fullcheckpassed (123 Gradle tasks)The requested API 23 device check remains the final manual validation item; the author environment does not have an Android SDK/emulator, so this is intentionally not claimed as completed.
AI assistance: OpenAI Codex. The contribution was rechecked against the current README, Gradle configuration, and pull-request workflows before the update.
Closes #3070