Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upMenu bar is not displayed with Firefox on Windows #1371
Comments
This comment has been minimized.
This comment has been minimized.
Yes, python.org renders fine with Firefox 66.0.2 (64-bit) on macOS. I don't have a Windows to test it at the moment. |
This comment has been minimized.
This comment has been minimized.
I can repro this - @berkerpeksag what can I get or try for you to help out? (I'm 100% not a web dev) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Your screenshot is already helping me to understand what's wrong :) I think there's something wrong with our operating system/browser/device screen size detecting code because that navigation is for smaller screens. Could you also check the value of <html class="js no-touch geolocation fontface generatedcontent svg formvalidation placeholder boxsizing retina flexslide" lang="en" dir="ltr" style=""> Also, I know you're not a lawyer, but is it OK to use my MSDN subscription for Python core devs to set up a Windows environment for python.org development? |
This comment has been minimized.
This comment has been minimized.
Mine is:
If I change And yeah, go right ahead using the MSDN subscription for that. It'd only get problematic if you were using it for commercial purposes. |
This comment has been minimized.
This comment has been minimized.
Thanks! Our feature detection code is broken. I will fix it tomorrow. |
This comment has been minimized.
This comment has been minimized.
Can you type |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Thanks! This should normally return 'ontouchstart' in window || window.navigator.msPointerEnabled || 'ontouchstart' in document.documentElement |
This comment has been minimized.
This comment has been minimized.
Both It's odd that Edge doesn't have this on my machine, which definitely has a touch screen. Maybe there's an "opt-in to latest Edge APIs" header/meta tag missing? |
This comment has been minimized.
This comment has been minimized.
This looks like a great mess and apparently Modernizr is planning to remove this feature checking feature in the future. I will have to do more research on this. |
This comment has been minimized.
This comment has been minimized.
I guess this is the most reliable way to detect touch devices. "matchMedia" in window && window.matchMedia("(any-pointer: coarse)").matches Unfortunately, it won't work with older browsers. I'll check python.org browser statistics. |
This comment has been minimized.
This comment has been minimized.
It returns Presumably the idea is to use a different layout with no hover effects on a touch-only device, yes? Maybe there's a different idea here about handling touch-clicks different from mouse-clicks/hovers? |
This comment has been minimized.
This comment has been minimized.
Correct and the problem is most of the layout code is relying on |
This comment has been minimized.
This comment has been minimized.
Shouldn't this issue be closed as the "menu" itself is removed from website?? |
Describe the bug
Menu of the top page(https://www.python.org) is not displayed with FireFox(64.0) on Windows.
Firefox on macOS looks good.
with Firefox:
with Chrome:
To Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):