Skip to content

fix(iOS): idx out of bounds crash inside caretRectForPosition#611

Merged
kacperzolkiewski merged 2 commits into
mainfrom
@kacperzolkiewski/fix-ios-crash
May 20, 2026
Merged

fix(iOS): idx out of bounds crash inside caretRectForPosition#611
kacperzolkiewski merged 2 commits into
mainfrom
@kacperzolkiewski/fix-ios-crash

Conversation

@kacperzolkiewski
Copy link
Copy Markdown
Collaborator

Summary

Fixes: idx out of bounds crash inside caretRectForPosition

Test Plan

  1. Write in input: test
  2. press enter
  3. toggle center alignment
  4. Write in input: test
  5. select whole text and delete it
  6. press with cursor outside of simulator
  7. press in input

The crash should not occur

Screenshots / Videos

n/a

Compatibility

OS Implemented
iOS
Android

Checklist

  • E2E tests are passing
  • Required E2E tests have been added (if applicable)

@kacperzolkiewski kacperzolkiewski merged commit eccacb6 into main May 20, 2026
7 checks passed
@kacperzolkiewski kacperzolkiewski deleted the @kacperzolkiewski/fix-ios-crash branch May 20, 2026 13:46
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