Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undocumented alwaysByViewport option #363

Open
GeoMarkou opened this issue Aug 22, 2022 · 1 comment
Open

Undocumented alwaysByViewport option #363

GeoMarkou opened this issue Aug 22, 2022 · 1 comment

Comments

@GeoMarkou
Copy link

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.

@karpo518
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants