react-tooltip
react-tooltip copied to clipboard
[BUG] Position not correct alongside react-window / react-virtualized-auto-sizer
Bug description
I had some code that was working correctly with react-tooltip, and a few hundred items. I then used react-window and react-virtualized-auto-sizer but now the tooltips show up in the top left corner of the webpage. They are not getting the top / left offsets applied correctly. Here's what I added: import { FixedSizeGrid } from 'react-window'; import AutoSizer from 'react-virtualized-auto-sizer';
I double checked my code and don't think it's a bug on my end. I even tried changing the anchorSelect to use unique ids but that didn't help.
Version of Package 5.26.4
To Reproduce import { FixedSizeGrid } from 'react-window'; import AutoSizer from 'react-virtualized-auto-sizer'; Then implement an AutoSizer followed by a child FixedSizeGrid with divs that have a tooltip.
Expected behavior Tooltip should show up right above the elements, not in the top left corner.