Skip to content

fix(ios): removed selection change event emition on input focus#614

Open
HejSztynx wants to merge 1 commit into
mainfrom
@ksienkiewicz/fix-selection-change-callbacks
Open

fix(ios): removed selection change event emition on input focus#614
HejSztynx wants to merge 1 commit into
mainfrom
@ksienkiewicz/fix-selection-change-callbacks

Conversation

@HejSztynx
Copy link
Copy Markdown
Collaborator

@HejSztynx HejSztynx commented May 25, 2026

Summary

  • on iOS there was an inconsistency with selectionChange events in comparison with other platforms
  • selectionChange event was emitted every time we focused on the input, which was inconsistent and emitted a confusing event about selection change, even though its state never changed internally
  • this also introduced a path when we blurred the input and then focused on a different part of the text that we blurred on, two selectionChange events were emitted unnecessarily

Videos

Comparison of changes

Before:

Screen.Recording.2026-05-25.at.17.19.36.mov

After:

Screen.Recording.2026-05-25.at.17.11.20.mov

Compatibility

OS Implemented
iOS
Android

Checklist

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

Copy link
Copy Markdown
Collaborator

@kacperzolkiewski kacperzolkiewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

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