Skip to content

fix(ios): composer cursor jumping after dictation#153

Merged
dnakov merged 1 commit into
dnakov:mainfrom
niklassheth:dictation-caret-fix
May 22, 2026
Merged

fix(ios): composer cursor jumping after dictation#153
dnakov merged 1 commit into
dnakov:mainfrom
niklassheth:dictation-caret-fix

Conversation

@niklassheth
Copy link
Copy Markdown
Contributor

When using iOS native dictation the cursor jumps back to the start of the dictation after pressing the "123" key. This is due to a stale selected range in SwiftUI. My change avoids applying the selected range while the composer is active and the text hasn't changed from SwiftUI.

Bugged:

ScreenRecording_05-21-2026.21-45-29_1.MP4

Fixed:

ScreenRecording_05-21-2026.21-46-15_1.MP4

@dnakov dnakov merged commit d34f3e8 into dnakov:main May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants