react-native-walkthrough-tooltip
react-native-walkthrough-tooltip copied to clipboard
Android only - Tooltip rendered twice, with the overlapping tooltip rendered at the wrong position
I am trying to display a tooltip on an item in a horizontally scrollable Carousel (react-native-snap-carousel), which is inside a vertical FlatList. I make sure to scroll the FlatList item into view before setting the tooltip visibility.
The issue is that there are two tooltips displayed, one as expected and one at the bottom of the screen, which overlaps the correct tooltip.
This is an Android specific issue, I have tested on iOS and it works as expected.
have you tried setting showChildInTooltip to false?
have you tried setting showChildInTooltip to false?
Amazing! I was having the same issue and this resolved it. Thank you @schlafnie
have you tried setting showChildInTooltip to false?
Thank you for the suggestion, but that will not highlight the element then, right?
have the same issue too
Try to add this code in component Tooltip
topAdjustment={Platform.OS === 'android' ? -StatusBar.currentHeight : 0}
I still have the same issue, @arjuntare did you managed to fix the problem yet?
I still have the same issue, @arjuntare did you managed to fix the problem yet?
Hi @huynhducduy I wasn't able to get it working. Ended up showing the tooltip on the entire carousel instead of on the carousel's child item.