Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.3k
doc: fix inability to hover version-picker#34447
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
DmitryScaletta commented Jul 20, 2020 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
0.25rem = height of `li` - offset for `ol.version-picker` = 1rem - 1.25rem `left` and `right` is -1 because of the border
Trott left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ping @nodejs/website
willin left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
juanarbol left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
lpinca commented Jul 22, 2020 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
No objections but I can't reproduce the issue on Firefox on Windows or Chrome/Safari on macOS. |
DmitryScaletta commented Jul 23, 2020 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
@lpinca
You can zoom the page up to 200% to see this bug for sure. In some cases it looks fine. |
lpinca commented Jul 23, 2020
DmitryScaletta commented Jul 23, 2020
Hmm. Looks like there is a problem with fonts. font-family: Lato,"Lucida Grande","Lucida Sans Unicode","Lucida Sans", Verdana, Tahoma, sans-serif;To fix that we need to set fixed height for the menu items. After fix: There was also bug in the mobile version witch is also fixed: |
Trott commented Jul 23, 2020
Not opposing, but I too cannot replicate unless the width/text-size is such that the menu wraps. Chrome macOS |
richardlau commented Jul 23, 2020
I can reproduce on Firefox on Windows but only if my mouse cursor is to the right of the dropdown arrow (and left of the right edge of the drop down box). |
DmitryScaletta commented Jul 30, 2020
So I updated the code. See details here #34447 (comment) |
silverwind commented Jul 31, 2020
This seems like a huge hack overall. I'd suggest a rewrite to a |
jasnell commented Aug 7, 2020
Given the comment here and @silverwind's feedback, I've removed the author ready label. |
richardlau commented Aug 14, 2020
#34768 looks like an alternative solution. |
PR-URL: #34768Fixes: #34767Fixes: #34447 Reviewed-By: Derek Lewis <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Harshitha K P <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #34768Fixes: #34767Fixes: #34447 Reviewed-By: Derek Lewis <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Harshitha K P <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #34768Fixes: #34767Fixes: #34447 Reviewed-By: Derek Lewis <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Harshitha K P <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #34768Fixes: #34767Fixes: #34447 Reviewed-By: Derek Lewis <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Harshitha K P <[email protected]> Reviewed-By: James M Snell <[email protected]>










See this #34447 (comment)
Checklist