[fix] TouchableHighlight

The fix in 97c0a31ce6 was incomplete due
to state key not being renamed.
This commit is contained in:
Nicolas Gallagher
2016-04-20 11:37:15 -07:00
parent 4d3418a968
commit e3eea6e132

View File

@@ -205,7 +205,7 @@ var TouchableHighlight = React.createClass({
this._hideTimeout = null;
if (this._hasPressHandler() && this.refs[UNDERLAY_REF]) {
this.refs[CHILD_REF].setNativeProps(INACTIVE_CHILD_PROPS);
this.refs[UNDERLAY_REF].setNativeProps(this.state.underlayStyle);
this.refs[UNDERLAY_REF].setNativeProps(this.state.underlayProps);
this.props.onHideUnderlay && this.props.onHideUnderlay();
}
},