-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[Fabric] Fix onChangeText firing twice when first typing in TextInput #14786
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
Draft
Copilot
wants to merge
20
commits into
main
Choose a base branch
from
copilot/fix-12780
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 2 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
789a853
Initial plan for issue
Copilot d3d95af
Initial analysis: Identify double onChange event in Fabric TextInput
Copilot 1ec1f5a
Fix double onChange event in Fabric TextInput by checking m_comingFro…
Copilot 7e50ec1
Change files
Copilot fecc3ef
Remove unnecessary codegen file changes unrelated to TextInput fix
Copilot d48bdb9
Improve TextInput onChange fix with text-based deduplication
Copilot 1b22de5
Revert unrelated codegen changes from TextInput fix
Copilot f00f563
Replace expensive string comparison with code flow check using m_comi…
Copilot cecdb31
Improve TextInput onChange fix using event count comparison instead o…
Copilot 0dec8fa
Remove unrelated codegen changes from TextInput onChange fix
Copilot 5673dc3
Fix event count initialization issue in TextInput onChange
Copilot febb163
Fix TextInput onChange using RichEdit modify flag instead of state co…
Copilot 508ae41
Revert to simple RichEdit modify flag approach as requested
Copilot 2436584
Merge branch 'main' into copilot/fix-12780
HariniMalothu17 cb21247
Fix TextInput onChange double event issue using consistent m_comingFr…
Copilot 2938058
Remove unnecessary codegen file changes, keep only essential TextInpu…
Copilot 21e0c91
Fix TextInput onChange double firing using RichEdit modify flag approach
Copilot 2c5e5d8
Simplify TextInput onChange fix to minimal approach, remove unnecessa…
Copilot 6eb444c
Fresh fix for TextInput onChange double firing using improved RichEdi…
Copilot 3cb971b
Restore GetContentSize and autoFocus functionality with minimal onCha…
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot what's the purpose of this change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes in the codegen file were unintentional and unrelated to the TextInput fix. They were just code reordering without functional changes. I've removed these unnecessary changes in commit fecc3ef - the actual fix only needs the one-line change in WindowsTextInputComponentView.cpp.