Tooltips in the wrong place after scrolling

Game development with Board Game Arena Studio
Post Reply
User avatar
GTSchemer
Posts: 1166
Joined: 09 August 2013, 03:26

Tooltips in the wrong place after scrolling

Post 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.
User avatar
GTSchemer
Posts: 1166
Joined: 09 August 2013, 03:26

Re: Tooltips in the wrong place after scrolling

Post 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.
User avatar
firgon
Posts: 58
Joined: 14 October 2014, 06:27

Re: Tooltips in the wrong place after scrolling

Post 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)
Post Reply

Return to “Developers”