More than 48 anniversaries?

AI-generated summary

More than 48 anniversaries?

Moin reported an issue where they cannot see more than 48 anniversaries when viewing /cakeday/anniversaries/today, expecting more to load when scrolling down. However, JammyDodger was able to reproduce the full month’s worth of anniversaries on Windows/Firefox and Windows/Chrome.

Moin shared a video of the issue on their tablet, which was also reproduced by Arkshine. Arkshine investigated the issue, finding that it only occurs on tablets and in Chrome, not in mobile or desktop views. They discovered a workaround by losing focus and returning to the Chrome window, then immediately scrolling down. The cause of the issue remains unclear, with Arkshine stating that the LoadMore function is used elsewhere without issues.

Moin later reported that they could no longer reproduce the issue.

I cannot see more than 48 anniversaries when looking at /cakeday/anniversaries/today. It is the same with other timespans and birthdays.

I expected more to be loaded when I scrolled down, but that did not happen. Is that how it is supposed to work? Especially the view of all anniversaries or birthdays of a month seems useless like this.

FWIW it’s working for me? I can scroll down and see the whole month’s worth.

(Windows/Firefox and Windows/Chrome. Both staff and non-staff)

That’s how it looks like at my tablet

It works using firefox and edge app. But not with chrome

1 Like

I don’t have a tablet to test, but hopefully someone with one can repro. :crossed_fingers: I’ll pop it in Contribute > Bug to catch someone’s eye.

2 Likes

I can also reproduce on a tablet (not mobile or desktop). I will see if I can figure out something.

1 Like

I just compared mobile and desktop view on the tablet. Both don’t work.

1 Like

I’m unable to debug this in a dev environment.
I don’t see anything wrong with showing in the console.

I noticed that if you lose focus and return to the Chrome windows, then scroll down immediately (essential), the loading works (you have to do that every time you want to load a new page, though).

As you say, it’s still the same even with the mobile view enabled.

LoadMore is used elsewhere, and I see no issue with the loading so far. Odd issue. :sweat_smile:

https://github.com/discourse/discourse-cakeday/blob/main/assets/javascripts/discourse/templates/cakeday/anniversaries/today.hbs

2 Likes

I can no longer reproduce this