dubsar icon indicating copy to clipboard operation
dubsar copied to clipboard

giant tooltips don't necessarily scroll well

Open jdee opened this issue 13 years ago • 1 comments

Look at http://dubsar-dictionary.com?term=jurisprudence . The gloss reading "the collection of rules imposed by authority" has a massive tooltip because that sense has 614 associated pointers, many semantic, so lots of synonyms make for a tooltip that won't fit on the screen. In at least one instance (Google Chrome 8, Ubuntu 10.04 and using a mouse with a tracking wheel) it is possible to scroll the tooltip to see the material at the bottom. Strangely, the entire #main div, with the word entry, scrolls along with it, but the header and footer of the page do not. The #main div may be scrolled right over the header, obscuring it.

In addition, the tooltip is currently set to have a max-width of 45% of the screen. Without that, it will in many cases be very short and wide. It is probably a good idea to handle the tooltip dimensions more dynamically. In the case of jurisprudence, above, the tooltip should probably be made quite a bit wider, since so much material disappears off the bottom of the screen.

jdee avatar Dec 27 '10 14:12 jdee