Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Cronix's avatar
Level 67

Endless scrolling

Really sucks. It's fine for short threads that are only less than one page in length, but for posts that are multiple pages, there is no way to just get to the last post without scrolling through them all. I really like being able to click on the timestamp from the main forum index view and going straight to the last post. That's a big time saver, and how the last forum worked (it used basic pagination - like the index page still does - it's only the post view that doesn't. It's very annoying, to the point where I don't even visit longer threads anymore.

An example, click on the timestamp for any posts here: https://laracasts.com/discuss?popular=1

The most popular thread has 992 responses (as of now). Click the "joeway replied 3 days ago" (as of now) link on the "Where are you all from?" thread, which should take you to the very last post. It doesn't. It takes you to the first post on page 1 and you have to manually scroll through each page to get to the last post because it only loads the first page of content instead of all content and going to the last one.

0 likes
10 replies
_adrian's avatar

@Cronix

The strange part is that this only seems to happen on really old posts. Have you noticed this behaviour on any newer posts? I tried clicking on the timestamp on a few from the more recent pages and they all jump you to the last post.

Edit: Seems to happen on all posts from "Popular All Time" but not from anywhere else...

Cronix's avatar
Level 67

@tuds it happens on newer threads too. It has to do with the number of replies in a given thread, but I don't know what the cutoff is (like if it's threads with over 30 replies, over 45 replies, etc).

https://laracasts.com/discuss/channels/site-improvements

Click on the timestamp for "All Problems with the new laracasts design" which (as of now) has 69 replies and was created after the new redesign was implemented. That goes to the first post instead of the last post, which I presume is "page 5" behind the scenes if there are 15 posts/page? For it to work, it would have to load all 5 "pages" at once instead of individually fetching the "next page" when you hit the bottom of the current page.

jlrdw's avatar

it happens on newer threads too

I tested some new ones using Firefox, it went to end. Haven't tried Chrome yet.

But that is of course hitting timestamp.

Cronix's avatar
Level 67

@JLRDW - It only happens on long threads containing many replies. See my specific example above.

I've tried in Chrome, Firefox and Safari on MacOS/desktop.

jlrdw's avatar

I just re tested, one with 62 replies you are correct, 17 replies work. Jeffrey has some work to do.

_adrian's avatar

@cronix yeah it's a cutoff thing. Apparently anything above 30 doesn't work. Just tested it out now. 31 is when it stops.

1 like
JeffreyWay's avatar
Level 59

there is no way to just get to the last post without scrolling through them all

I really like being able to click on the timestamp from the main forum index view and going straight to the last post.

This was only true for threads with lots of replies that required extra AJAX requests. It messed up the auto-scrolling. I've made a couple tweaks today that should fix this entirely.

3 likes
jlrdw's avatar

As of today if I leave laravel and I'm on a post. And this is on a Samsung phone Android system, Chrome.

When returning I see just straight text.

{"id":106132,"title":"Best Way to Query This","body":"<p>I'm going to try to simplify this process as much as possible to get straight to the point. If you have any additional questions then let me know by all means.<\/p>\n<p>I have 2 tables as follows:<\/p>\n<p>item_centers:<\/p>\n<pre><code>| id | center | identifier | description        
// more

Of course a refresh fixes it.

Please or to participate in this conversation.