Add a prop for iOS to display the keyboard without user input
This commit is contained in:
parent
0f7e39ebdb
commit
6f6cd7a02c
|
@ -50,6 +50,7 @@ RCT_EXPORT_VIEW_PROPERTY(onLoadingError, RCTDirectEventBlock)
|
|||
RCT_EXPORT_VIEW_PROPERTY(onShouldStartLoadWithRequest, RCTDirectEventBlock)
|
||||
RCT_REMAP_VIEW_PROPERTY(allowsInlineMediaPlayback, _webView.allowsInlineMediaPlayback, BOOL)
|
||||
RCT_EXPORT_VIEW_PROPERTY(onBridgeMessage, RCTDirectEventBlock)
|
||||
RCT_REMAP_VIEW_PROPERTY(keyboardDisplayRequiresUserAction, _webView.keyboardDisplayRequiresUserAction, BOOL)
|
||||
|
||||
- (NSDictionary<NSString *, id> *)constantsToExport
|
||||
{
|
||||
|
|
|
@ -105,6 +105,8 @@ var WebViewBridge = React.createClass({
|
|||
onBridgeMessage: PropTypes.func,
|
||||
|
||||
hideKeyboardAccessoryView: PropTypes.bool,
|
||||
|
||||
keyboardDisplayRequiresUserAction: PropTypes.bool,
|
||||
},
|
||||
|
||||
getInitialState: function() {
|
||||
|
|
Loading…
Reference in New Issue