diff --git a/native/tooltip/tooltip.react.js b/native/tooltip/tooltip.react.js --- a/native/tooltip/tooltip.react.js +++ b/native/tooltip/tooltip.react.js @@ -172,10 +172,6 @@ class Tooltip extends React.PureComponent< TooltipProps, > { - componentDidMount() { - Haptics.impactAsync(); - } - render(): React.Node { const { dimensions, @@ -355,6 +351,10 @@ const { hideTooltip, ...rest } = props; + React.useEffect(() => { + Haptics.impactAsync(); + }, []); + const { goBackOnce } = props.navigation; const closeTooltip = React.useCallback(() => { goBackOnce();