www.pexels.com - "Say Thanks!" pop-up is not fully visible after downloading something
Categories
(Web Compatibility :: Site Reports, defect, P2)
Tracking
(Webcompat Score:3, Webcompat Priority:P2, firefox135 affected, firefox136 affected, firefox137 affected)
People
(Reporter: ctanase, Assigned: twisniewski)
References
(Depends on 2 open bugs, )
Details
(4 keywords, Whiteboard: [webcompat-source:web-bugs])
User Story
platform:windows,mac,linux,android impact:content-missing configuration:common affects:all branch:release diagnosis-team:layout user-impact-score:300
Attachments
(3 files)
Environment:
Operating system: Windows 11/10
Firefox version: Mozilla Firefox 134.0.2/135/137
Steps to reproduce:
- Go to https://www.pexels.com/photo/stylish-woman-relaxing-outdoors-in-autumn-fashion-29946756/
- Click on the "Free download" button.
- Observe the pop-up window.
Expected Behavior:
The "Say Thanks!" pop-up is fully visible.
Actual Behavior:
The "Say Thanks!" pop-up is not fully visible.
Notes:
- Reproduces regardless of the status of ETP
- Reproduces in firefox-nightly, and firefox-release
- Does not reproduce in chrome
Created from https://github.com/webcompat/web-bugs/issues/147794
Reporter | ||
Comment 1•28 days ago
|
||
Reporter | ||
Updated•28 days ago
|
Comment 2•28 days ago
|
||
Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.
![]() |
||
Comment 3•28 days ago
|
||
FWIW, Unset the following css is a workaround.
.Modal_overlay__9VSuC.Modal_positionContentCenter__QzDur {
justify-content: center;
}
Comment 4•28 days ago
|
||
In Chrome, the popup thing is anchored on the top, so it'd be interesting to figure out the difference.
Assignee | ||
Updated•20 days ago
|
Assignee | ||
Comment 5•20 days ago
|
||
Updated•20 days ago
|
Comment 7•17 days ago
|
||
bugherder |
Assignee | ||
Updated•17 days ago
|
Assignee | ||
Updated•14 days ago
|
Assignee | ||
Comment 8•14 days ago
|
||
Updated•12 days ago
|
Comment 10•12 days ago
|
||
Backed out for causing failures at browser_interventions.js.
Backout link: https://hg.mozilla.org/integration/autoland/rev/a5f31fde35ddbb02b23fc5aef0f9d4df2bd6214b
Failure log: https://treeherder.mozilla.org/logviewer?job_id=496740708&repo=autoland&lineNumber=11514
Comment 11•11 days ago
|
||
Comment 12•11 days ago
|
||
Comment 13•11 days ago
|
||
bugherder |
Comment 14•5 days ago
|
||
So the behavior-difference here is that the thing-being-centered (via the CSS in comment 3) is shorter in Chrome than it is in Firefox. It's not quite anchored to the top, but rather it's just sized to exactly fit the container (and hence doesn't need to be centered).
That happens via this CSS:
.Modal_scrollWrapper__uU5Er {
[...]
max-height: 100vh;
max-height: -webkit-fill-available;
max-height: -moz-available;
max-height: stretch;
Chrome sees -webkit-fill-available
which makes this Just Work.
If we enable support for that property, you might think it'd work in Firefox too, but it doesn't -- max-height: -moz-available;
comes after that and hence overrides it, and unfortunately max-height: -moz-available;
behaves like max-height:none
(for now, pending bug 527285, though I'm tentatively planning to fix that after shipping -webkit-fill-available
)
When we ship support for the stretch
sizing keyword, that'll get us the right behavior here too.
So: the platform bug that'll get this working here is either bug 527285 or bug 1789477 (either one will make this work).
Description
•