[react-native] Added keyboardShouldPersistTaps prop to FlatList (#16818)

This commit is contained in:
Kyle Roach
2017-06-01 01:10:16 -04:00
committed by Mohamed Hegazy
parent b2304899ad
commit 5da11947ec

View File

@@ -3450,6 +3450,14 @@ export interface FlatListProperties<ItemT> extends ScrollViewProperties {
*/
columnWrapperStyle?: ViewStyle
/**
* When false tapping outside of the focused text input when the keyboard
* is up dismisses the keyboard. When true the scroll view will not catch
* taps and the keyboard will not dismiss automatically. The default value
* is false.
*/
keyboardShouldPersistTaps?: boolean | 'always' | 'never' | 'handled'
/**
* For simplicity, data is just a plain array. If you want to use something else,
* like an immutable list, use the underlying VirtualizedList directly.