Draft
[iOS] Investigate autoscroll not lifting focused thought above keyboard — blocked on reproduction environment#4527
Conversation
Contributor
|
|
Copilot
AI
changed the title
[WIP] Fix autoscroll for thought selection on iOS
[iOS] Investigate autoscroll not lifting focused thought above keyboard — blocked on reproduction environment
Jul 6, 2026
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.
On iOS, tapping a thought at the bottom of the screen to place the caret leaves it hidden behind the on-screen keyboard; autoscroll should lift the focused thought above the keyboard.
No code changes are included in this PR yet. The
issue-reproworkflow requires reproducing this WebKit-specific keyboard-overlap on a real iOS device (BrowserStack App Automate via thewdioMCP) before touching any code, and reproduction could not be started in the current sandbox.Blocker
wdiostart_sessionfor BrowserStack iOS (iPhone 15 / iOS 26 /em-server-mode) timed out on every attempt; no session was ever established.api.browserstack.com,hub-cloud.browserstack.com→Could not resolve host); nobrowserstack.com/bs-local.comentries exist in the network allow-list, and no Local tunnel can be brought up.BROWSERSTACK_USERNAME/BROWSERSTACK_ACCESS_KEY) are present but unusable without hub reachability.To unblock
*.browserstack.com,bs-local.com) so the device session and Local tunnel can connect, then I can reproduce, capture a failing regression test, fix, and validate on-device.em-server-modeIPA is still warm and HTTPS-aware, or explicitly authorize a code-analysis-only fix without live iOS reproduction.Likely surface area (for reviewer context, not yet modified)
src/device/scrollCursorIntoView.ts— bottom-obstruction handlingsrc/hooks/useScrollCursorIntoView.ts— cursor-follow autoscroll triggerssrc/device/preventAutoscroll.tsand iOS keyboard-open handling (Editable.tsxonBlur,handleKeyboardVisibility)