diff --git a/ToolTip.ios.js b/ToolTip.ios.js index 1d16dc3..97653c6 100644 --- a/ToolTip.ios.js +++ b/ToolTip.ios.js @@ -50,6 +50,12 @@ var ViewClass = React.createClass({ } else { props.onPress = this.showMenu; } + + // Override the style for the touchable highlight to fill the size of the tooltip container. + props.style = { + flex: 1, + alignSelf: 'stretch' + }; return props; }, @@ -64,7 +70,7 @@ var ViewClass = React.createClass({ render: function() { return ( - +