Page 1 of 1

Tooltips in the wrong place after scrolling

Posted: 13 March 2022, 08:22
by GTSchemer
Is there any way to adjust the location of the tooltip popups outline? I can move the text with CSS, but the little popup window stays in the wrong place.

This specifically happens with a modal overlay being created after the game interface is scrolled down. At that point, if any tooltips appear, they are too high on the screen. For an example, try scrolling down a little in Feast for Odin, then clicking the icon to bring up the ship display.

The tooltips are no longer directly above the ships.

Re: Tooltips in the wrong place after scrolling

Posted: 13 March 2022, 18:19
by GTSchemer
I was able to fix this by removing "position: fixed" from a CSS modal popup that I was using, and removing code which set "top" on the CSS widget. That was apparently offsetting the tooltip.

Re: Tooltips in the wrong place after scrolling

Posted: 16 March 2022, 13:16
by firgon
I'm interested in how you modify css to adjust the tooltip location. In my game with rotated squares mainly transparent the tooltip appears closer to other elements than the tooltiped element (and with tootipHTML that's even worst)