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
Long tooltips may not fit vertically, and we flip them upwards even if they won't fit upwards either #883
Comments
This is made very visible when zoomed in (ctrl +) with high tooltips (like the ones with causes). We should always try to keep the top aligned with the top of the window. |
What is the desired outcome here? The information will be truncated regardless of what we do. I'm going to remove the bug label, as the polish and accessibility seem to be the proper labels, but this is not truly breaking things for our users, as some information is hidden anyway. I'm happy to add the bug label back if someone disagrees. I think a better "steps to reproduce" profile would be helpful to determine the course of action. Perhaps if we overflow the height, we need to fit the tooltip to be the size of the vertical window, and then truncate the contents. |
Some information is hidden anyway, but I think the most important information is hidden while the less important is shown. I find it easy to see on this profile, the STR is:
|
Note that I agree it's a "polish" bug. |
I propose the following positioning scheme:
|
This sounds good; except maybe we don't need the 3rd step and could move to 4th step directly. |
The logic is in |
Hello @julienw , I am introduced to Outreachy and about this project today via Outreachy website. Is it too late to start? May I please attempt on this issue and try to make a Pull Request? |
He @subashiniganesh, sure, it's not late at all ! Are the information in this issue good enough or do you need some more things to start working on this ? |
Previously, long tooltips were flipped upwards and so sometimes, it goes beyond the window's top edge. This makes it difficult to view the information. This fix will make sure that, the tooltip header always stays within the window. Resolves: firefox-devtools#883
Hello @julienw , The information provided in the issue was very much helpful. Thanks a lot. I am happy that I was able to pick and attempt an accessibility related issue as the primary project is about improving accessibility. Let me please submit a PR. Kindly help me for any improvements. |
No answer from @subashiniganesh so let's mark this issue as unassigned. Please look at the existing PR #1326 to start working on this. |
Including @bgrins steps to reproduce (STR) here from #1462:
|
Because this is blocking some gecko devs, I'll finish up the existing PR. |
No description provided.
The text was updated successfully, but these errors were encountered: