Update TooltipMenu.ios.js

This commit is contained in:
Marcos Rodriguez Velez 2023-03-24 22:19:45 -04:00
parent 65e9a7087f
commit 19f1cd9e92

View file

@ -59,7 +59,7 @@ const ToolTipMenu = (props, ref) => {
}} }}
style={buttonStyle} style={buttonStyle}
> >
{props.onPress ? <TouchableOpacity onPress={props.onPress}>{props.children}</TouchableOpacity> : props.children} {props.onPress ? <TouchableOpacity onPressOut={props.onPress}>{props.children}</TouchableOpacity> : props.children}
</ContextMenuButton> </ContextMenuButton>
) : ( ) : (
<ContextMenuView <ContextMenuView
@ -82,7 +82,7 @@ const ToolTipMenu = (props, ref) => {
} }
: {})} : {})}
> >
{props.onPress ? <TouchableOpacity onPress={props.onPress}>{props.children}</TouchableOpacity> : props.children} {props.onPress ? <TouchableOpacity onPressOut={props.onPress}>{props.children}</TouchableOpacity> : props.children}
</ContextMenuView> </ContextMenuView>
); );
}; };