mbin icon indicating copy to clipboard operation
mbin copied to clipboard

Profile overview infinite scroll not working

Open BentiGorlich opened this issue 1 year ago • 1 comments

Describe the bug When you have infinite scroll enabled and go to a profile that has too many posts for one page the infinite scroll will not work when going to the end of the page

On which Mbin instance did you find the bug? [gehirneimer.de]

Which Mbin version was running on the instance? [1.6.0 ~ f37b5968a3df9ab98e40c02a0b0b8803aaba9ae2]

To Reproduce Steps to reproduce the behavior:

  1. Enable infinite scroll
  2. Go to an active profile
  3. Scroll down to the end of the page
  4. Pagination pops up, but not more results

Expected behavior It should add the next posts down there

BentiGorlich avatar Jun 26 '24 12:06 BentiGorlich

I have another branch like my search infinite PR #770 one here https://github.com/MbinOrg/mbin/tree/e5/user-infinite which started this work (only on overview page atm)

But I can't seem to figure out on either one why results don't appear. If I look at the AJAX response, the results are right there in between entries, but on the actual page they aren't appearing, it'll be sparse where some are missing, and I haven't been able to figure out why yet

Edit: I think it's clearly comments that aren't showing. This is viewing user1's profile that comments on some admin entries, and the comments aren't shown, only the entry is that they posted on

non-infinite results infinite results
image image

I'm just confused as to how this same template can render comments when not infinite scroll but fails when infinite

Edit: But post comments appear to work with infinite scrolling on tag pages :thinking: and once again the same template

e-five256 avatar Jun 28 '24 02:06 e-five256