Closed Bug 1911579 Opened 2 years ago Closed 1 year ago

www.yeti.com - Missing buttons from the cart section

Categories

(Web Compatibility :: Site Reports, defect, P2)

ARM
Android

Tracking

(Webcompat Priority:P2, Webcompat Score:6)

RESOLVED FIXED
Webcompat Priority P2
Webcompat Score 6

People

(Reporter: rbucata, Unassigned)

References

(Depends on 1 open bug, )

Details

(Keywords: webcompat:platform-bug, webcompat:site-report, Whiteboard: [webcompat-source:web-bugs])

User Story

platform:android
impact:site-broken
configuration:general
affects:all
branch:release
diagnosis-team:webcompat
user-impact-score:500

Attachments

(1 file)

Environment:
Operating system: Android 14
Firefox version: Firefox Mobile 130.0

Steps to reproduce:

  1. Navigate to: https://www.yeti.com/shop-by-color/wetlands
  2. Add an item to cart
  3. Return to the home page and view the cart
  4. Observe

Expected Behavior:
Buttons to view or checkout are present

Actual Behavior:
Buttons are missing

Notes:

  • Reproduces regardless of the status of ETP
  • Reproduces in Firefox Nightly, and Firefox Release
  • Does not reproduce in Chrome
  • Reproduces regardless of the position of the toolbar

Created from https://github.com/webcompat/web-bugs/issues/139949

Severity: -- → S2
User Story: (updated)
Priority: -- → P3
Webcompat Priority: --- → P2
User Story: (updated)
Webcompat Score: --- → 7
Priority: P3 → P2

Raul, can you provide a screenshot of the difference?

Flags: needinfo?(rgurzau)

I think I hit something like this. For me, the issue happens right after I tap "Add to bag" on a product (on Android).
(A) In Firefox Nightly 137 on Desktop, in RDM w/ "Samsung Galaxy Note 20" configuration, I see a full-screen overlay that slides in from the right, which has a footer-section with my cart's total price, a Klarna-payments promo, and "View Cart | Checkout" buttons

(B) In Firefox Nightly 137 on an actual phone, I see that^ exact same experience except my dynamic toolbar is covering up the "View Cart | Checkout" section (and I can't scroll to hide the toolbar or view that content)

(C) In Chrome on an actual phone, I don't get the full-screen overlay at all -- I instead get a small blue overlay near the top of the page that says "Added to bag" for a second and then disappears.

(My "actual phone" here is a Pixel 9 Pro XL, running Android 15.)

(In reply to Daniel Holbert [:dholbert] from comment #2)

I think I hit something like this. For me, the issue happens right after I tap "Add to bag" on a product (on Android).

...and I see roughly-the-same behavior difference if I tap the picture of my bag/cart at the top of the screen, when I have a non-empty cart.

  • In Firefox with RDM (Samsung Galaxy Note config) and in regular Firefox on Android, I see the full-page overlay swoop in from the right, and no navigation happens, and the bottom buttons are covered up by my dyanmic toolbar (on an actual device).
  • In Chrome on Android, there's no such animation; instead, I simply get navigated to https://www.yeti.com/cart which scrolls just fine (and scrolls just fine in Firefox too if I explicitly visit that URL).

Actually I just briefly got the "bad" cart-overlay-page UI in Chrome, but in Chrome it's not "bad" -- the footer is higher up so that the buttons are visible (and I can scroll, too, even though maybe I'm not supposed to be able to).

Here's a screencast I captured to show this bug:
https://drive.google.com/file/d/1_GNyL-tp8WzyDCty5DjjY_obFGhikWCS/view?usp=sharing

  • Firefox's "bad" rendering is visible at t=11s
  • Chrome's "good" rendering of the same overlay is visible at t=27s
  • Chrome's rendering with the blue "Added to bag" notification is visible at t=44s

So the clipping here is partly due to the site using -webkit-fill-available (which we haven't yet preffed on enabled) and having a slightly-broken fallback.

The element in question has this rule:

.minicart .popover {
	min-width: 100%;
	width: 100%;
	height: 100vh;
	height: -webkit-fill-available;
	overflow: scroll;
	padding-bottom: 15rem;
	position: fixed;
	top: 0;
}

https://www.yeti.com/on/demandware.static/Sites-Yeti_US-Site/-/en_US/v1738941886954/css/global.css

In a reduced testcase using that same rule, the element's bottom area (e.g. a border-bottom that I synthetically add) is not visible unless I enable support for -webkit-fill-available via our layout.css.webkit-fill-available.enabled pref. This makes some sense, since 100vh is the full viewport height, without subtracting away the dynamic toolbar height.

Even so: if I toggle layout.css.webkit-fill-available.enabled to true, the actual Yeti site still hits the same clipping/sizing bug, though I can make it work (i.e. I can make the footer jump upwards fully-into-view) if I make the right edit in devtools (any edits at the end of that^ rule seem to do the trick; not sure why exactly).

Depends on: 1886561
Flags: needinfo?(rgurzau)
Depends on: 1872755
Webcompat Score: 7 → 6
Depends on: 1988938

This should be fixed by the patch that I've just landed in bug 1988938. I'll plan to retest in tomorrow's Nightly, and I'll close after confirming that it's fixed. (I just did a brief test in today's nightly on Android; I confirmed that I still hit the bug, and it goes away if I manually flip the pref.)

--> Removing dependency on bug 1872755 (which remains open and tracks broader support that's not needed here).

No longer depends on: 1872755

Confirmed that this was FIXED by bug 1988938, in latest Nightly 2025-09-18 on Android.

I visited yeti.com, added a Rambler 20oz Tumbler to my bag, and then tapped the bag icon at the top right to view my cart.

By default, I can see "Checkout" button at the bottom (good).

(And If I toggle layout.css.webkit-fill-available.enabled to false (restoring old behavior), and reload the page and return to my cart, then the "Checkout" button gets pushed off-screen.)

--> FIXED by bug 1988938

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: