diff --git a/Libraries/Components/Touchable/TouchableWithoutFeedback.js b/Libraries/Components/Touchable/TouchableWithoutFeedback.js index c515613e843..8059c7e1df5 100755 --- a/Libraries/Components/Touchable/TouchableWithoutFeedback.js +++ b/Libraries/Components/Touchable/TouchableWithoutFeedback.js @@ -157,9 +157,7 @@ const TouchableWithoutFeedback = React.createClass({ ((child._owner && child._owner.getName && child._owner.getName()) || '') ); if (Touchable.TOUCH_TARGET_DEBUG && child.type && child.type.displayName === 'View') { - if (!Array.isArray(children)) { - children = [children]; - } + children = React.Children.toArray(children); children.push(Touchable.renderDebugView({color: 'red', hitSlop: this.props.hitSlop})); } const style = (Touchable.TOUCH_TARGET_DEBUG && child.type && child.type.displayName === 'Text') ?