Tooltip size and position on mobile
-
When hovering on regions closer to the left/right edge of the screen, the tooltip gets cut off and so the contents can’t be fully read. This is especially problematic on tablets and phones.
Screencap of tooltip cutting off
I can adjust things like font size, which helps keep things contained on smaller screens. But I’m not able to specify the tooltip width, and even with that, it doesn’t currently look like tooltips for these regions near the screen edge know to stay positioned within the screen.
.imapsTooltip { font-size: 0.8em; max-width: 80%; /* this doesn't work */ /* some way to always position the tooltip within the map div? */ }
Specific to mobile – regions have to be tapped on to make the tooltip visible, and every tap event seems to cause the page position to jump up a bit, and then when we try to scroll back down to read the tooltip, that scroll event causes the tooltip to close.
Video showing mobile behaviour
So for this, other than the tooltip position and size concern noted up top, I’m wondering if there’s a way to either have the initial region tap event not cause any page position jump, or to have the tooltip remain visible until the user truly taps (not scrolls) outside of the tooltip. Or any other solution really ??
Thanks!
The page I need help with: [log in to see the link]
- The topic ‘Tooltip size and position on mobile’ is closed to new replies.