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
In the align.overflow configuration there is an alwaysByViewport option offered by dom-align:
if alwaysByViewport is true, the it will adjust if node is not inside viewport
This solved an issue I was having with a large page that scrolled horizontally and vertically, the tooltip would disappear off the side of the page. It would be great if this was documented somewhere.
When the trigger button is located near the border of the browser window, then the popup falls outside the window and creates a scroll. I was unable to resolve this issue using the option adalwaysByViewport, adjustX or adjustY
samanthaamodeo-cognition commented on May 11, 2026
I agree with wanting some documentation on this option. I had tried passing it as an option to align.overflow to solve some cut-off Tooltips. While it did seem to shift the tooltip closer to being fully in view, still did not fully resolve cut-off tooltips and/or scrollbars.
Activity
karpo518 commentedon Mar 15, 2024
When the trigger button is located near the border of the browser window, then the popup falls outside the window and creates a scroll. I was unable to resolve this issue using the option adalwaysByViewport, adjustX or adjustY
samanthaamodeo-cognition commentedon May 11, 2026
I agree with wanting some documentation on this option. I had tried passing it as an option to align.overflow to solve some cut-off Tooltips. While it did seem to shift the tooltip closer to being fully in view, still did not fully resolve cut-off tooltips and/or scrollbars.
docs: document align.overflow option including alwaysByViewport (reac…