I’ve noticed this in the larger threads (several dozens or hundreds of comments), scrolling becomes extremely laggy.

Edit: the lag doesn’t seem it be caused by large threads, but by threads containing comments with embedded images

  • darklightxi@lemmy.worldM
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Hmm, there were some optimizations made for long comment threads, but there’s definitely improvements that could be made. Could you open up a GitHub issue on this so that we can track it easier? It would also be good to know the device you’re using and OS version!

    • RagingNerdoholic@lemmy.caOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Actually, I don’t think it’s large threads that causes the lag. I just opened some threads with >1k comments and they worked okay.

      I think it’s threads containing comments with embedded images. Maybe those should be lazyloaded or loaded on demand?

      • BinarySystem@lemmy.fmhy.ml
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I tracked down a bad performance issue related to the comments list. I’ve submitted a fix so you should hopefully see a smoothess boost once that gets added into a release.

        There is still some jank with threads that have lots of images. It can cause the comment list to teleport a bit. I think it has to do with the images loading back in but I’m not 100% sure. Needs more investigating.