mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-26 23:05:00 +08:00
[React Native][Pokes Dashboard] Fix crash
This commit is contained in:
@@ -181,6 +181,10 @@ var TouchableHighlight = React.createClass({
|
||||
},
|
||||
|
||||
_showUnderlay: function() {
|
||||
if (!this.isMounted()) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.refs[UNDERLAY_REF].setNativeProps(this.state.activeUnderlayProps);
|
||||
this.refs[CHILD_REF].setNativeProps(this.state.activeProps);
|
||||
this.props.onShowUnderlay && this.props.onShowUnderlay();
|
||||
|
||||
Reference in New Issue
Block a user