diff --git a/Libraries/Components/Touchable/TouchableOpacity.js b/Libraries/Components/Touchable/TouchableOpacity.js index 8e9a34146..5c673947f 100644 --- a/Libraries/Components/Touchable/TouchableOpacity.js +++ b/Libraries/Components/Touchable/TouchableOpacity.js @@ -106,7 +106,10 @@ var TouchableOpacity = React.createClass({ }, touchableHandleActivePressOut: function() { - var childStyle = flattenStyle(this.refs[CHILD_REF].props.style) || {}; + var childStyle = ( + this.refs[CHILD_REF].props && + flattenStyle(this.refs[CHILD_REF].props.style) + ) || {}; this.setOpacityTo(childStyle.opacity === undefined ? 1 : childStyle.opacity); this.props.onPressOut && this.props.onPressOut(); },