react-native-walkthrough-tooltip icon indicating copy to clipboard operation
react-native-walkthrough-tooltip copied to clipboard

Tooltip not aligned correctly with child

Open AndrewStorci7 opened this issue 6 months ago • 0 comments
trafficstars

Hi, thank you for this useful library!

I'm encountering a layout issue when using the tooltip with the following props:

<Tooltip
  closeOnChildInteraction={false}
  allowChildInteraction={false}
  useReactNativeModal={false}
  useInteractionManager={false}
  // ...other props
>
  {/** My child component */}
</Tooltip>

These options were set in an attempt to resolve a scrolling issue, but with this configuration, the tooltip is not correctly aligned with the child component. Instead, it appears centered on the screen, rather than positioned relative to its child.

Here's the video:

https://github.com/user-attachments/assets/725c64d3-237b-4f35-b29d-f75e72700b9b

Environment

Library Version
React Native 0.73.6
React Native Walkthrough Tooltip 1.6.0

AndrewStorci7 avatar May 16 '25 09:05 AndrewStorci7