Skip to content

ios: implement auto scroll for selected text range adjustment#4001

Merged
Parth merged 1 commit intomasterfrom
ios-selection-handle-auto-scroll
Dec 3, 2025
Merged

ios: implement auto scroll for selected text range adjustment#4001
Parth merged 1 commit intomasterfrom
ios-selection-handle-auto-scroll

Conversation

@tvanderstad
Copy link
Copy Markdown
Contributor

@tvanderstad tvanderstad commented Dec 2, 2025

Adds auto scrolling for when dragging the selection handles. At one point this was working, but not for a long time - probably before we moved selection management from Rust to Swift.

This behavior is imperfect in that, if you drag a selection handle below the keyboard, the selection shows as the original sometimes until you jiggle it a little. How we stack up:

  • Apple Notes automatically scrolls up when dragging selection handles but not down
  • Obsidian scrolls down, and speed scales with how far down you drag it (fancy!), but scrolling up is always basically instant (probably a bug). Also suffers similar bugs as my implementation.
ScreenRecording_12-02-2025.17-45-49_1.MP4

fixes #4000

@Parth Parth merged commit b1ae1ca into master Dec 3, 2025
1 check passed
@Parth Parth deleted the ios-selection-handle-auto-scroll branch December 3, 2025 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

document not auto scrolling when dragging selection handle on iOS

2 participants