Skip to content

Add eventCount property to TextInputKeyPressEventData type#57331

Closed
pchalupa wants to merge 9 commits into
react:mainfrom
pchalupa:add-event-count-property
Closed

Add eventCount property to TextInputKeyPressEventData type#57331
pchalupa wants to merge 9 commits into
react:mainfrom
pchalupa:add-event-count-property

Conversation

@pchalupa

Copy link
Copy Markdown
Contributor

Summary:

Align TextInputKeyPressEventData type with: https://github.com/facebook/react-native/blob/116ea5955c374b1b6f2e62a47f194add96470081/packages/react-native/Libraries/Components/TextInput/TextInput.flow.js#L103
TextInputKeyPressEventData was missing the eventCount in the event payload.

Changelog:

[GENERAL] [FIXED] - Add eventCount to TextInputKeyPressEventData type

Test Plan:

Check fabric event emitter:
https://github.com/facebook/react-native/blob/618ef02f4a0da31d613bca40019f1abf511cbb1e/packages/react-native/ReactCommon/react/renderer/components/textinput/TextInputEventEmitter.cpp#L113

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 25, 2026
@pchalupa pchalupa changed the title Add event count property Add eventCount property to TextInputKeyPressEventData type Jun 25, 2026
@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Jun 25, 2026
@meta-codesync

meta-codesync Bot commented Jun 25, 2026

Copy link
Copy Markdown

@fabriziocucci has imported this pull request. If you are a Meta employee, you can view this in D109693681.

@meta-codesync meta-codesync Bot closed this in 886faee Jun 25, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Jun 25, 2026
@meta-codesync

meta-codesync Bot commented Jun 25, 2026

Copy link
Copy Markdown

@fabriziocucci merged this pull request in 886faee.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant