Closed Bug 1720060 Opened 4 years ago Closed 1 year ago

Offerup browse page gets stuck after a few pages (infinite scroll)

Categories

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

Unspecified
Android

Tracking

(firefox130 fixed)

RESOLVED WORKSFORME
Tracking Status
firefox130 --- fixed

People

(Reporter: yoasif, Assigned: ksenia)

References

(Depends on 1 open bug, )

Details

(Keywords: nightly-community, webcompat:platform-bug, webcompat:sitepatch-applied)

User Story

platform:android
impact:site-broken
configuration:general
affects:all

Attachments

(1 file)

Opening in GeckoView because I can reproduce in Reference Browser and Fenix but not in responsive page view on desktop.

  1. Open: https://offerup.com/explore/k/1/6?delivery_param=s
  2. Scroll down a few times.

What happens:

Infinite spinner and more content does not load.

Expected result:

More items display.

Profile: https://share.firefox.dev/2UAAKX8

On a Pixel 2 and profile was recorded in Reference Browser.

Tried mozregression with gve and found that the issue exists as far back as 2020-12-14.

We'll take a look at the profile and see which team this bug belongs with

Flags: needinfo?(agi)

This looks like a webcompat thing.

Component: General → Mobile
Product: GeckoView → Web Compatibility
Flags: needinfo?(agi)

in The profile This never loads, but I'm not sure it's related.
https://offerup.com/1.16.0-fa992569-7b4a-4b80-a318-806b49e8df8e/_next/static/chunks/pages/item/detail/%5Bid%5D-07a1d2bb6ec65ac9a75b.js

If I tried to go to https://offerup.com/explore/k/1/6?delivery_param=s
I get an Error 1020.
So I don't think I can do anything to diagnose.

Does it still happen?

Flags: needinfo?(yoasif)

Karl, it does still happen - maybe you need to be in a served region?

Flags: needinfo?(yoasif)

which region are you in? :)

Flags: needinfo?(yoasif)

I'm in the US. I think it ought to work anywhere in the US.

Flags: needinfo?(yoasif)

Maybe Ksenia can help then.

Assignee: nobody → kberezina
Flags: needinfo?(kberezina)

I can't access the site either (1020 error code) from my location (Romania) or using a VPN pointing to US.

Any luck on your side Ksenia?

This is related to the Dynamic Toolbar and IntersectionObserver. When I scroll to the bottom of the page, it doesn't fire:

            i = new IntersectionObserver((function (e) {
              e.forEach((function (e) {
                var t = r.get(e.target),
                n = e.isIntersecting || e.intersectionRatio > 0;
                t && n && t(n)
              }))
            }), { rootMargin: "200px" });

However, it starts working if turn on Dynamic Toolbar (Settings > Customize > Scroll to hide toolbar -> off)
This looks similar to https://bugzilla.mozilla.org/show_bug.cgi?id=1788504

Flags: needinfo?(kberezina)
See Also: → 1788504

I can not access the webpage, even with a VPN connection, as I get a message that the page is only available in the US. Asif, is the issue still reproducible?

Flags: needinfo?(yoasif)

Raul, I can still reproduce this issue.

Ksenia's workaround continues to work, however:

However, it starts working if turn on Dynamic Toolbar (Settings > Customize > Scroll to hide toolbar -> off)

Flags: needinfo?(yoasif)

Verified the issue but could not access the page due to Geo location restrictions. Ksenia, any updates on the issue?

Flags: needinfo?(kberezina)
Severity: -- → S2
Depends on: 1788504
Flags: needinfo?(kberezina)
Priority: -- → P1
Whiteboard: [webcompat:platform-bug]

We can ship an intervention to make up for the height of the dynamic toolbar, this makes the infinite scroll work:

#__next::after {
  display: block;
  width: 100%;
  height: 10px;
  content: "";
}
Depends on: 1877346
Whiteboard: [webcompat:platform-bug]
See Also: 1788504
Component: Mobile → Site Reports
Whiteboard: [webcompat:needs-knowledgebase]

A sitepatch is shipped in bug1876363

Depends on: 1886147
No longer depends on: 1788504
Whiteboard: [webcompat:needs-knowledgebase]
User Story: (updated)

Unfortunately the site is not usable for me just like Karl. :/

The site loads for me (in California), and I can't reproduce the bug, using Firefox Nightly on a Pixel 8.

I have "scroll to hide toolbar" enabled (by default) and I disabled the intervention from about:compat in the "interventions" section, so I don't think I'm benefiting from any workaround.

Asif, would you mind checking again to see if you can still reproduce (with dynamic toolbar on and with the intervention disabled)? I see that you could repro about a year ago (comment 11) but I wonder if maybe the site and/or Firefox changed such that the problem doesn't happen anymore.

Flags: needinfo?(yoasif)

(and/or ksenia, maybe you can retest, since it sounds like maybe you were able to repro in comment 13?)

Flags: needinfo?(kberezina)

(FWIW I tested (with intervention disabled) on two older phones that I have handy for testing -- a Pixel 4 and a Pixel 6a -- and was unable to repro on those, too.)

I can't reproduce this either anymore with the intervention disabled, so I think we can close this as worksforme and remove the intervention.

Status: NEW → RESOLVED
Closed: 1 year ago
Flags: needinfo?(yoasif)
Flags: needinfo?(kberezina)
Resolution: --- → WORKSFORME
Pushed by dschubert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0690d411cd31 Remove remaining intervention files from the offerup.com intervention. r=twisniewski,webcompat-reviewers
Blocks: 1886147
No longer depends on: 1886147
No longer blocks: 1886147
Depends on: 1886147
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: