Skip to content

Severe lag spikes while scrolling #298

Open
@bluskript

Description

@bluskript

When trying to use vue-virtual-scroll-list in a project of mine, I noticed that the app started experiencing some really heavy lag whenever I scrolled far enough. If I use the Vue debugger, I see that there is a massive amount of events being dispatched at those times, which leads me to suspect that I'm probably missing something important. Here is a video demonstrating the issue:

2021-01-01.16-10-37.mp4

Also, here is a list of things I have tried and were proven unsuccessful:

  • Removing avatars and time strings
  • Setting a fixed height on the scroll container
  • Remove all local state for messages
  • Disable markdown formatting

Here is the code: https://github.com/harmony-development/tempest/blob/virtual-scroller-test/components/Chat/Messages/index.vue

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions