I'm looking at this bug as I notice the same behaviour and would like to see tooltips work better for touch screen players.
I was looking at the .addTooltip(...) code and there is a line of code that seems to be triggering this behaviour.
I'm guessing this line exists for users who hover/mouseenter over an element and then expect the tooltip to hide after clicking on the element. The challenge is touch screen users trigger the tooltip by clicking on it, which causes that line of code to execute (i.e. fire show/hide immediately). I'm not sure why sometimes it works, but it mostly does not.
any ideas on a different approach?
side bar: I've noticed that tooltips work relatively well in kingdom builder (the location tiles at least, not objectives). I'm not sure why that is the case. by working better I mean almost every time I click on it I see the tooltip.
I was looking at the .addTooltip(...) code and there is a line of code that seems to be triggering this behaviour.
Code: Select all
dojo.connect($(id), "onclick", this.tooltips[id], "close");any ideas on a different approach?
side bar: I've noticed that tooltips work relatively well in kingdom builder (the location tiles at least, not objectives). I'm not sure why that is the case. by working better I mean almost every time I click on it I see the tooltip.