From 38f57ee18c44f68c1a1745ed81394481e1275ae9 Mon Sep 17 00:00:00 2001 From: Spencer Ahrens Date: Mon, 1 Jun 2015 16:04:16 -0700 Subject: [PATCH] [ReactNative] improve UIExplorer keyboard interactions --- Examples/UIExplorer/UIExplorerList.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Examples/UIExplorer/UIExplorerList.js b/Examples/UIExplorer/UIExplorerList.js index fdbda4dc8d..a030220cab 100644 --- a/Examples/UIExplorer/UIExplorerList.js +++ b/Examples/UIExplorer/UIExplorerList.js @@ -30,7 +30,7 @@ var { var { TestModule } = React.addons; var Settings = require('Settings'); -import type { Example, ExampleModule } from 'ExampleTypes'; +import type { ExampleModule } from 'ExampleTypes'; var createExamplePage = require('./createExamplePage'); @@ -154,7 +154,9 @@ class UIExplorerList extends React.Component { dataSource={this.state.dataSource} renderRow={this._renderRow.bind(this)} renderSectionHeader={this._renderSectionHeader} + keyboardShouldPersistTaps={true} automaticallyAdjustContentInsets={false} + keyboardDismissMode="onDrag" /> );