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
If i set place="top", it renders the toolitp in the top position. if the tooltip will not fit above, it automatically renders at the bottom. Likewise, if i use place="right", it will position to the left if it is out of the current window dimensions.
But, if i choose place="top" but the content is too wide to fully display in the window, the left side will be rendered off-screen and there is no way for me to see the entire content of the tooltip.
Steps to reproduce:
create a tooltip with place="top"
make the tooltip width ~300px wide and position the element on the right side of the page
resize your window so that the tooltip will be too wide to be rendered above the element
when you mouseover the element, the right edge of the tooltip's content will not be visible
Expected behavior:
If (right_edge_of_tooltip > window.innerWidth) { place="left"; }
Additional notes:
The text was updated successfully, but these errors were encountered:
@ggongon Did you ever resolve this issue or have a link to the new story? I think I'm having the same issue and just opened this: ReactTooltip/react-tooltip#130
Summary:
If i set place="top", it renders the toolitp in the top position. if the tooltip will not fit above, it automatically renders at the bottom. Likewise, if i use place="right", it will position to the left if it is out of the current window dimensions.
But, if i choose place="top" but the content is too wide to fully display in the window, the left side will be rendered off-screen and there is no way for me to see the entire content of the tooltip.
Steps to reproduce:
Expected behavior:
If (right_edge_of_tooltip > window.innerWidth) { place="left"; }
Additional notes:
The text was updated successfully, but these errors were encountered: