Open 3Nex opened 4 years ago
I tracked down the issue to the following line: https://github.com/elementary/website/blob/fbd1aa6b967ad223984a8ffaf1fbfa3a2f9658ba/_scripts/popover.js#L22 Setting the overflow here triggers a scroll event in Firefox which triggers https://github.com/elementary/website/blob/fbd1aa6b967ad223984a8ffaf1fbfa3a2f9658ba/_scripts/popover.js#L33 and causes the popover to be immediately hidden again.
Commenting out the first line eliminates the issue but I am not sure why it is there in the first place.
This issue is no longer on Firefox 85.0.1 (64-bit)
Prerequisites
Describe the bug
On a page that offers the content in different languages, such as the Code Of Conduct page for example (https://elementary.io/code-of-conduct), there is a language selection link in the footer. But clicking it does not show the selection popover in Firefox. In Epiphany, it does show it.
I can see the popover element is present in the document (
div.popover-content
), but itsopacity
property is0
, and itsvisibility
property ishidden
after clicking the link. (even though theleft
property gets updated on click).To Reproduce
Steps to reproduce the behavior:
Expected behavior
The popover with language selection to show up.
Screenshots or screen recordings
Epiphany screenshot, with expected result: https://i.imgur.com/4dETQHC.png
Platform Information
Firefox 71.0 64-bit
[ ] I'm using the latest version from git that I've manually compiled
[x] I'm using the latest released stable version