Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.74-stable] Make TextInput events more reliable (#2159 + #2160) #2168

Merged

Conversation

amgleitman
Copy link
Member

0.74-stable port of #2159 and #2160.

amgleitman and others added 2 commits August 19, 2024 15:03
…xtInput>` elements (microsoft#2159)

* Add _isCurrentlyEditing to RCTBaseTextInputView

* Move _isCurrentlyEditing check earlier in textInputDidBeginEditing

* Adjust comment

* nit: remove extra newline

* Limit changes to macOS

---------

Co-authored-by: Adam Gleitman <[email protected]>
… with placeholder text (microsoft#2160)

* Add _isUpdatingPlaceholderText to prevent spurious "did end editing" notifications

* Organize macOS tags and ifdef blocks

---------

Co-authored-by: Adam Gleitman <[email protected]>
@amgleitman amgleitman requested a review from a team as a code owner August 19, 2024 22:05
@amgleitman amgleitman merged commit 2cc0a2e into microsoft:0.74-stable Aug 19, 2024
12 checks passed
@amgleitman amgleitman deleted the 0.74-textinput-event-fixes branch August 19, 2024 22:38
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