Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

giant tooltips don't necessarily scroll well #26

Open
jdee opened this issue Dec 27, 2010 · 1 comment
Open

giant tooltips don't necessarily scroll well #26

jdee opened this issue Dec 27, 2010 · 1 comment
Labels

Comments

@jdee
Copy link
Owner

jdee commented Dec 27, 2010

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
Copy link
Owner Author

jdee commented Dec 28, 2010

This has been improved. Now the tooltips have scrollbars, but they do not exceed the height of the viewport. When the scrollbar is used, the tooltip header scrolls out of view. Unfortunately, it contains the X close button. The tooltip can be dismissed in other ways, particularly by mousing over a different gloss. Still, it might be desirable to leave the header where it is when scrolling. So this issue remains open for the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant