Skip to content

Commit 9f8e4ac

Browse files
Naturalclarfacebook-github-bot
authored andcommitted
chore: add description for rejectResponderTermination prop (#28001)
Summary: Added description for rejectResponderTermination prop for the TextInput, which seemed to have been deleted. Descriptions are taken from https://github.com/facebook/react-native/pull/16755/files ## Changelog [Internal] [Added] - Add description for rejectResponderTermination prop for TextInput Pull Request resolved: #28001 Test Plan: This PR only changes comment, which has no effect on actual function. Differential Revision: D19820886 Pulled By: TheSavior fbshipit-source-id: 5cbaafcbae0bdbf6932ef9c7c0c1a75cd6d8794e
1 parent 4bb0b4f commit 9f8e4ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Libraries/Components/TextInput/TextInput.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,10 @@ type IOSProps = $ReadOnly<{|
276276
passwordRules?: ?PasswordRules,
277277

278278
/*
279+
* If `true`, allows TextInput to pass touch events to the parent component.
280+
* This allows components to be swipeable from the TextInput on iOS,
281+
* as is the case on Android by default.
282+
* If `false`, TextInput always asks to handle the input (except when disabled).
279283
* @platform ios
280284
*/
281285
rejectResponderTermination?: ?boolean,

0 commit comments

Comments
 (0)