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
Another classic—should tooltips ever open offscreen?
IMO, no, thats something I want a library to take care of, and I would guess users would want that too. Inputs at the bottom of a page (or side, depending on where you want it to open).
The text was updated successfully, but these errors were encountered:
Add a 👍 reaction to this issue if you would like to see Huebee add a feature so its always positioned within the page viewport.
One way to resolve this is to set positioning CSS
/* outside right edge? */
.huebee__container {
left:-100px;
}
/* or too close to bottom? */
.huebee-container {
top: auto;
bottom:50px;
}
Rather add more code to check and measure sizing values, I hope developers can rely on their own CSS to resolve these offscreen issues.
This brings up another feature: more robust positioning. Huebee defaults to being positioned below the bottom left corner of the anchor element. Would it be better if Huebee had options for being positioned at any corner with any orientation (right, left, top, bottom)? See #8
Another classic—should tooltips ever open offscreen?
IMO, no, thats something I want a library to take care of, and I would guess users would want that too. Inputs at the bottom of a page (or side, depending on where you want it to open).
The text was updated successfully, but these errors were encountered: