r/redesign•
Neobim

[Bug] Second batch of posts not loading in redesign

Fixed :thumbsup:

r/NintendoSwitch never loads the second batch of posts. This has been happening consistently for at least a few weeks now for me, specifically with that subreddit (perhaps there are more). I am opted into both the beta & redesign. This happens in multiple browsers (Firefox & Chrome tested), when logged in or out, and even with all addons and tracking protection disabled. There are no errors in the console and no failed requests in the network tab. I've tried clearing cache and everything. Happens everywhere in the subreddit (hot, new, top, etc...) This completely breaks usability of that subreddit.

What it looks like: https://i.imgur.com/IcYuA2e.png

Posted Sep 11, 2018, 8:22 AM UTC

812
dj_hartman•

I have the error: Uncaught TypeError: Cannot read property 'removeFragment' of undefined at VM86 extension\_properties.js:35 on the console.

Consistently reproducible indeed.

3
dj_hartman•

axs.content variable is what is undefined here. Not sure how that happened. It is trying to call removeFragment on parameter https://www.redditmedia.com/gtm?id=GTM-5XVNS82&cb=null, maybe that helps the developers.

1
LanterneRougeOGProduct :snoo:•

Thanks for the report. I filed a bug ticket and we'll take a look. Let me know if you see this happening to you on other subs. I'm having trouble reproducing the issue.

Thanks u/dj_hartman for the extra details

2
Rock-n-rolling•

On r/relationships only the first 28 (?) posts load, after that nothing. on other subs, as i keep scrolling, more posts appear. Exactly as OP reported.

https://imgur.com/2cyqVKk

2
NeobimOP•

Can confirm, it happens on r/relationships for me too.

u/LanterneRougeOG we found another one!

It may also be worth noting that this only occurs on the desktop redesign, I tried the official reddit app on android & it was fine (in addition to 3rd party reddit apps too).

2
LanterneRougeOGProduct :snoo:•

Thanks for the ping. We are looking into what is causing this bug. We are able to reproduce it.

2
[deleted]•

[deleted]

1
NeobimOP•

u/LanterneRougeOG: Thanks, hopefully it can be fixed soon. I'm not sure how far along you guys are with this but I've found a workaround that may assist in figuring this out:

I can hit the End key to go to the very bottom of the page and scroll back up to the last post to load -- then the second batch loads. Seemingly I can continue scrolling down like normal and more and more batches of posts load again as they should.

I believe this may be because after the second batch is loaded, the last post to load is now past the sidebar height and at the bottom of the page. If the last post to load is halfway down the page (because the sidebar goes further down than the height of 25 posts for the first batch) then the issue occurs.

This seems to make sense as the affected subreddits (r/nintendoswitch and r/relationships) both have extremely long sidebars (on the right), whereas subs with small sidebars (ie. r/games) are unaffected.

I would bet that the code to load the next batch is only triggered when I scroll to the bottom of the page, rather than checking more relatively if I've scrolled past the last post.

1
LanterneRougeOGProduct :snoo:•

I'll add this extra detail to the ticket. Extra details always help to make sure we find the best fix. Cheers

1
LanterneRougeOGProduct :snoo:•

This has been fixed. Let me know if you see any issues

2
LanterneRougeOGProduct :snoo:•

We just deployed a fix for this. Let me know if you still see issues with posts not loading.

2
NeobimOP•

So sorry, I didn't see this before. Yes, it seems to be fixed now! I haven't noticed it happening again in a while. Thank you for the fix :)

2
louisly•

On Chrome this only happens in the latest update. On Chrome 68 I didn't have this issue.

1