react-native-macos/Libraries/Components/TextInput
Manvir Singh d54113d8c4 implemented showSoftInputOnFocus for iOS (#28834)
Summary:
`showSoftInputOnFocus` was added in https://github.com/facebook/react-native/issues/25028, but it was only added for Android. There was a lot of discussion on the original issue being addressed (https://github.com/facebook/react-native/issues/14045), that there is a need for this on iOS as well. The issue with iOS was brought up again on https://github.com/facebook/react-native/issues/27243.

On a related note, when searching this repo's issues for `showSoftInputOnFocus`, it appears that there are several closed issues that claim that the Android implementation doesn't work (https://github.com/facebook/react-native/issues/25685, https://github.com/facebook/react-native/issues/25687, https://github.com/facebook/react-native/issues/26643). So perhaps the Android implementation needs to be looked at as well (I myself have not gotten around to confirming whether it works or not)

## Changelog

[iOS] [Added] - Add showSoftInputOnFocus to TextInput
Pull Request resolved: https://github.com/facebook/react-native/pull/28834

Test Plan:
You'd use this just like you would in the Android implementation:
```jsx
<TextInput showSoftInputOnFocus={false} />
```

## GIFs
### Before change
![May-04-2020 20-52-49](https://user-images.githubusercontent.com/4932784/81034028-9d89cf80-8e4a-11ea-906c-64f62504f80c.gif)

### After change
![May-04-2020 20-54-27](https://user-images.githubusercontent.com/4932784/81034035-a11d5680-8e4a-11ea-918e-119a1c9e2a19.gif)

Differential Revision: D21418763

Pulled By: shergin

fbshipit-source-id: 561e72fc2cf16b30446132f6b96b8aa2b4a92daf
2020-05-11 09:01:33 -07:00
..
__tests__ TextInput: Default `blurOnSubmit` in JS 2020-05-09 17:24:19 -07:00
AndroidTextInputNativeComponent.js implemented showSoftInputOnFocus for iOS (#28834) 2020-05-11 09:01:33 -07:00
AndroidTextInputViewConfig.js Add a hand-written JS view config for AndroidTextInput 2020-01-22 14:12:22 -08:00
InputAccessoryView.js Make ColorValue public in StyleSheet.js 2020-04-17 13:03:47 -07:00
RCTInputAccessoryViewNativeComponent.js Make ColorValue public in StyleSheet.js 2020-04-17 13:03:47 -07:00
RCTMultilineTextInputNativeComponent.js Remove setMostRecentEventCount from TextInput view commands 2020-04-14 15:27:59 -07:00
RCTSingelineTextInputNativeComponent.js Remove setMostRecentEventCount from TextInput view commands 2020-04-14 15:27:59 -07:00
RCTSinglelineTextInputViewConfig.js Add a hand-written JS view config for RCTSinglelineTextInputView 2020-01-30 15:30:11 -08:00
TextInput.js implemented showSoftInputOnFocus for iOS (#28834) 2020-05-11 09:01:33 -07:00
TextInputNativeCommands.js Remove setMostRecentEventCount from TextInput view commands 2020-04-14 15:27:59 -07:00
TextInputState.js Switch iOS focus/blur calls to use new commands 2020-02-19 15:29:00 -08:00