[EuiToolTip] Tooltip flickers in EuiDataGrid on Firefox when scrolled to the bottom
Summary https://github.com/elastic/sdh-kibana/issues/6540
In Firefox, the tooltip on a cell in EuiDataGrid keeps opening and closing when you hover it. It only happens when the grid is scrolled to the very bottom. If you scroll up a little, it stops.
We found it in the Kibana Discover document flyout (hovering a field name).
How to reproduce
Use Firefox with Windows display scaling at 125%. Scroll a data grid to the very bottom. Hover a cell that has a tooltip. It depends on the window size. If you don't see it, resize the window a little.
Why it seems to happen
Opening the tooltip seems to make Firefox think the grid was scrolled, even though nothing moved. When the grid is at the very bottom, it reacts to that "scroll" by briefly ignoring the mouse, so the tooltip closes. Closing it triggers the same thing again, and the tooltip keeps opening and closing.
Example in Discover
https://github.com/user-attachments/assets/e74f3b18-1cf1-45b4-b1b9-dff5a498ae9e
Source: elastic/eui