Skip to content

fix: iOS startMention check range - #278

Merged
szydlovsky merged 1 commit into
mainfrom
@szydlovsky/fix-start-indicator-check-range
Nov 24, 2025
Merged

szydlovsky merged 1 commit into
mainfrom
@szydlovsky/fix-start-indicator-check-range

Conversation

@szydlovsky

Copy link
Copy Markdown
Collaborator

Summary

The startMention ref method on iOS takes wrong range into consideration when checking for blocks and conflicts. Can't be reproduced in the current state of main branch, but on the codeblocks feature branch I was not able to add an indicator this way because a codeblock was detected within default NSRange value (0,0).

This PR puts a proper textView.selectedRange range in there.

Test Plan

--

Screenshots / Videos

--

Compatibility

OS Implemented
iOS
Android (doesn't apply)

@szydlovsky szydlovsky changed the title fix: iOS starMention check range fix: iOS startMention check range Nov 21, 2025
@szydlovsky
szydlovsky merged commit c666690 into main Nov 24, 2025
5 checks passed
@szydlovsky
szydlovsky deleted the @szydlovsky/fix-start-indicator-check-range branch November 24, 2025 09:59
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.

3 participants