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

Fix tooltip flicker

Open jyaconelli opened this issue 10 months ago • 1 comments

closes #116

Issue

When a tooltip is initially rendered in a location on the screen without enough room, it flickers indefinitely.

Solution

proposed by @tailorem in https://github.com/jasongaare/react-native-walkthrough-tooltip/issues/116#issuecomment-1242298562 The tooltip will only update contentSize when the new size is larger than the previous. This fixes the flickering issue.

jyaconelli avatar Apr 17 '24 19:04 jyaconelli