tooltip
tooltip copied to clipboard
Undocumented `alwaysByViewport` option
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