From 0513d3abb553e7b53cfba93fec9bec7f421dbbe3 Mon Sep 17 00:00:00 2001 From: Hedger Wang Date: Mon, 22 Feb 2016 22:45:10 -0800 Subject: [PATCH] revert D2928371 to unbreak drawer. Reviewed By: furdei Differential Revision: D2962152 fb-gh-sync-id: ca185efa1b93a905e3ee7ca1c2eb6cc612febdf2 shipit-source-id: ca185efa1b93a905e3ee7ca1c2eb6cc612febdf2 --- Libraries/ReactIOS/renderApplication.android.js | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/Libraries/ReactIOS/renderApplication.android.js b/Libraries/ReactIOS/renderApplication.android.js index 1abfeb8b3..05b87178b 100644 --- a/Libraries/ReactIOS/renderApplication.android.js +++ b/Libraries/ReactIOS/renderApplication.android.js @@ -73,8 +73,8 @@ var AppContainer = React.createClass({ return; } - this.refs.accessibilityWrapper.setNativeProps({ - importantForAccessibility: modalVisible ? 'no-hide-descendants' : 'auto', + this.setState({ + rootImportanceForAccessibility: modalVisible ? 'no-hide-descendants' : 'auto', }); }, @@ -85,14 +85,10 @@ var AppContainer = React.createClass({ ref="main" collapsable={!this.state.inspectorVisible} style={styles.appContainer}> - - - + ;