From e3eea6e132d190160c6c49552ed3338f84514bba Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Wed, 20 Apr 2016 11:37:15 -0700 Subject: [PATCH] [fix] TouchableHighlight The fix in 97c0a31ce6ff358170ed8223af5bea4d21a6805a was incomplete due to state key not being renamed. --- src/components/Touchable/TouchableHighlight.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Touchable/TouchableHighlight.js b/src/components/Touchable/TouchableHighlight.js index 115bd4af..b5713324 100644 --- a/src/components/Touchable/TouchableHighlight.js +++ b/src/components/Touchable/TouchableHighlight.js @@ -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(); } },