# Infinite loop when scrolling in chrome on android in landscape mode

**URL:** https://meta.discourse.org/t/infinite-loop-when-scrolling-in-chrome-on-android-in-landscape-mode/345635
**Category:** Bug
**Created:** [January 5, 2025, 3:23am UTC](https://meta.discourse.org/t/infinite-loop-when-scrolling-in-chrome-on-android-in-landscape-mode/345635 "2025-01-05T03:23:25Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![programmerjake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/programmerjake/32/427533_2.png) [@programmerjake](https://meta.discourse.org/u/programmerjake)
#### Post date: [January 5, 2025, 3:23am UTC](https://meta.discourse.org/t/infinite-loop-when-scrolling-in-chrome-on-android-in-landscape-mode/345635/1 "2025-01-05T03:23:25Z")

</div>

when going to [[RFC][GlobalISel] Adding FP type information to LLT - #37 by qcolombet - Common CodeGen Infrastructure - LLVM Discussion Forums](https://discourse.llvm.org/t/rfc-globalisel-adding-fp-type-information-to-llt/83349/37) and scrolling down a bit more it goes into an infinite loop of scrolling down and back up as fast as it can update:

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [January 5, 2025, 7:35am UTC](https://meta.discourse.org/t/infinite-loop-when-scrolling-in-chrome-on-android-in-landscape-mode/345635/2 "2025-01-05T07:35:15Z")

</div>

I can reproduce that on my forum even in [safe mode](https://meta.discourse.org/t/53504?silent=true). But I cannot reproduce at [try.discourse.org](http://try.discourse.org)  
Let’s see if it happens here

> blockquote

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [January 5, 2025, 7:43am UTC](https://meta.discourse.org/t/infinite-loop-when-scrolling-in-chrome-on-android-in-landscape-mode/345635/3 "2025-01-05T07:43:50Z")

</div>

No luck so far. Maybe the behavior was fixed in the last few days.

Meta

My forum

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [January 6, 2025, 12:10am UTC](https://meta.discourse.org/t/infinite-loop-when-scrolling-in-chrome-on-android-in-landscape-mode/345635/4 "2025-01-06T00:10:01Z")

</div>

So sorry about his @programmerjake we have a fix ready and will get it deployed to your forum this week.

You were in a cluster we are re-balancing so deploys are a bit delayed on it, will report back once that is done.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [January 6, 2025, 1:55am UTC](https://meta.discourse.org/t/infinite-loop-when-scrolling-in-chrome-on-android-in-landscape-mode/345635/6 "2025-01-06T01:55:49Z")

</div>

Update @programmerjake we have deployed your cluster, can you confirm if the issue is resolved? (you will need to reload your browser)

If not we can escalate this internally.

---

<div class="post-metadata">

### Author: ![programmerjake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/programmerjake/32/427533_2.png) [@programmerjake](https://meta.discourse.org/u/programmerjake)
#### Post date: [January 6, 2025, 3:00am UTC](https://meta.discourse.org/t/infinite-loop-when-scrolling-in-chrome-on-android-in-landscape-mode/345635/7 "2025-01-06T03:00:48Z")

</div>

it is not resolved afaict, I tried refreshing, and tried opening it in an incognito window and it seems to break after clicking the mobile-mode toggle on the left panel (toggling on, since i have desktop-mode enabled by default in my browser settings) and then scrolling down.

it seems to work fine when in desktop mode without clicking the mobile-mode toggle.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [January 6, 2025, 6:16am UTC](https://meta.discourse.org/t/infinite-loop-when-scrolling-in-chrome-on-android-in-landscape-mode/345635/8 "2025-01-06T06:16:28Z")

</div>

Is this specific to Android Mobile or are you able to reproduce this on other devices? Is it common across Firefox / Chromium on Android mobile.

I am sure there is something here, just can not reproduce it on your page on either Chrome or Firefox both on desktop or mobile emulation.

---

<div class="post-metadata">

### Author: ![programmerjake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/programmerjake/32/427533_2.png) [@programmerjake](https://meta.discourse.org/u/programmerjake)
#### Post date: [January 6, 2025, 6:50am UTC](https://meta.discourse.org/t/infinite-loop-when-scrolling-in-chrome-on-android-in-landscape-mode/345635/9 "2025-01-06T06:50:01Z")

</div>

I was able to reproduce the issue in a fresh install of [Fennec F-Droid](https://f-droid.org/en/packages/org.mozilla.fennec_fdroid/) (basically F-Droid’s skin of Firefox for Android) by enabling desktop mode in the browser’s settings, then clicking on the phone icon on the left panel in discourse, then scrolling down.

---

<div class="post-metadata">

### Author: ![programmerjake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/programmerjake/32/427533_2.png) [@programmerjake](https://meta.discourse.org/u/programmerjake)
#### Post date: [January 6, 2025, 7:09am UTC](https://meta.discourse.org/t/infinite-loop-when-scrolling-in-chrome-on-android-in-landscape-mode/345635/10 "2025-01-06T07:09:49Z")

</div>

Was able to reproduce it in Firefox ESR on my Linux desktop:  
[https://discourse.llvm.org/t/rfc-globalisel-adding-fp-type-information-to-llt/83349/36?mobile\_view=1](https://discourse.llvm.org/t/rfc-globalisel-adding-fp-type-information-to-llt/83349/36?mobile_view=1)  
I set the screen emulation to Responsive 1070x548, with DPR set to 3 with no custom user agent, then scrolled down a bit.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [January 6, 2025, 9:02pm UTC](https://meta.discourse.org/t/infinite-loop-when-scrolling-in-chrome-on-android-in-landscape-mode/345635/11 "2025-01-06T21:02:02Z")

</div>

Confirmed, thanks for the exact repro here!

This reproduces exactly in Chrome latest as well with 1070x548

@david / @awesomerobot any ideas here, this is a real odd one.

I confirm this is not `overflow-anchor` I am seeing `docked` class on `topic-progress-wrapper` got in and out of effect.

My guess is:

1. We add the docked class
2. Page moves a bit
3. Which makes us remove the docked class
4. Page moves a bit
5. And so on…

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [January 6, 2025, 10:20pm UTC](https://meta.discourse.org/t/infinite-loop-when-scrolling-in-chrome-on-android-in-landscape-mode/345635/12 "2025-01-06T22:20:41Z")

</div>

Yeah definitely something to do with the topic progress bar docking, looks like `position: initial;` gets set along with the `.docked` class, and this causes the position to flicker between docked and undocked 🤔

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [January 6, 2025, 10:50pm UTC](https://meta.discourse.org/t/infinite-loop-when-scrolling-in-chrome-on-android-in-landscape-mode/345635/13 "2025-01-06T22:50:41Z")

</div>

This should fix it:

[https://github.com/discourse/discourse/pull/30591](https://github.com/discourse/discourse/pull/30591)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [January 7, 2025, 4:14am UTC](https://meta.discourse.org/t/infinite-loop-when-scrolling-in-chrome-on-android-in-landscape-mode/345635/14 "2025-01-07T04:14:01Z")

</div>

Nice, this looks fixed @programmerjake is it good on your side - I confirmed I can no longer repro on your site!

---

<div class="post-metadata">

### Author: ![programmerjake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/programmerjake/32/427533_2.png) [@programmerjake](https://meta.discourse.org/u/programmerjake)
#### Post date: [January 7, 2025, 4:33am UTC](https://meta.discourse.org/t/infinite-loop-when-scrolling-in-chrome-on-android-in-landscape-mode/345635/15 "2025-01-07T04:33:14Z")

</div>

seems fixed to me! Thanks!

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [January 7, 2025, 6:50am UTC](https://meta.discourse.org/t/infinite-loop-when-scrolling-in-chrome-on-android-in-landscape-mode/345635/16 "2025-01-07T06:50:38Z")

</div>


