You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by akraines March 28, 2023
It seems that position is off if the content of the tooltip's height changes. Is there a way to indicate to the tooltip to recalculate its position based on the height of the dynamic content of the tooltip?
I'm trying to work out why tooltips are being positioned way out of place on first render of the cell in my app. On the second render it positions itself correctly. I have considered 2 possibilities:
The tooltip is associated with a row that is being rendered as part of a virtual list.
The height of the tooltip changes as part of its first render [it first says loading and then displays the content.] As a test I gave the tooltip a fixed height and it seemed to fix the issue.
Discussed in #991
Originally posted by akraines March 28, 2023
It seems that position is off if the content of the tooltip's height changes. Is there a way to indicate to the tooltip to recalculate its position based on the height of the dynamic content of the tooltip?
I'm trying to work out why tooltips are being positioned way out of place on first render of the cell in my app. On the second render it positions itself correctly. I have considered 2 possibilities:
I looked into it further and made a repro: https://stackblitz.com/edit/react-ts-ay7kkp?file=App.tsx,index.tsx
The text was updated successfully, but these errors were encountered: