Closed peresbri-apthletic closed 3 years ago
For usage in TOOLTIP mode, it is very important that all parents of the Popover fill the screen, both height and width, if at all possible. This may involve putting the Popover higher up in the hierarchy than you typically would. Avoid putting the popover inside of a scroll container.
The debug output should help in identifying where the popover is showing. It is most likely appearing off the screen, or else is not given enough space to display at all.
For usage in TOOLTIP mode, it is very important that all parents of the Popover fill the screen, both height and width, if at all possible. This may involve putting the Popover higher up in the hierarchy than you typically would. Avoid putting the popover inside of a scroll container.
The debug output should help in identifying where the popover is showing. It is most likely appearing off the screen, or else is not given enough space to display at all.
how can I use it in Flatlist?
You should either avoid tooltip mode for using in FlatList, or if you must use tooltip mode, put the popover outside the FlatList, use ref
or rect
for the from
prop, and control visibility manually. I think passing in a ref from a button in a FlatList will still properly calculate the actual position on screen.
@SteffeyDev thanks for the tips mate. I have parked that issue for now. Will keep you posted when I work on it again. Cheers
Closing due to inactivity
I want to make sure taps to the area around the popover fall through to those views so I am using the TOOLTIP mode. but this is not displaying anything anymore. I am doing something wrong? How is the display are calculated in this case?
Cheers