Skip to content

Commit ca37eb7

Browse files
authored
Fix unintended fallthrough causing duplicate WM_CHAR handling in Fabric TextInput (#11469)
* Fix unintended fallthrough This was causing a WM_CHAR to fallthrough to WM_KEYDOWN and produce a duplicate `sendMessage`
1 parent 2d6da86 commit ca37eb7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "Fix unintended fallthrough This was causing a WM_CHAR to fallthrough to WM_KEYDOWN and produce a duplicate `sendMessage`",
4+
"packageName": "react-native-windows",
5+
"email": "26607885+chrisglein@users.noreply.github.com",
6+
"dependentChangeType": "patch"
7+
}

vnext/Microsoft.ReactNative/Fabric/Composition/CompositionEventHandler.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ int64_t CompositionEventHandler::SendMessage(uint32_t msg, uint64_t wParam, int6
164164
if (result)
165165
return result;
166166
}
167+
break;
167168
}
168169
case WM_KEYDOWN:
169170
case WM_KEYUP:

0 commit comments

Comments
 (0)