question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade from 1.1.2 to 1.3.0 causes janky scrolling.

See original GitHub issue

I added a demo of the behavior I see.

There was some weird behavior in 1.1.2 where very rarely, I’d see my items flicker when I scrolled… upgraded to 1.3.0 thinking maybe that could help and it didn’t. You’ll notice this issue in my video as well.

Here is the video of 1.3.0:

https://streamable.com/brjpsj

You’ll see the janky scrolling is obvious and erratic. This was not happening in 1.1.2 - my scrolling was smooth.

As for the flickers, I recommend looking closely at the bottom right message at around 29 seconds. Another example is the message on the bottom left between seconds 34-35.

There are more instances of the flickers, but I pick out two cases.

<Virtuoso
      data={messages}
      overscan={6}
      followOutput="smooth"
      initialTopMostItemIndex={messages.length - 1}
      itemContent={(index, message) => { ... }} />

This is my code. I omit the item piece because I think it is irrelevant. Also, I switched margins on my item to padding like you suggest, so that isn’t causing the janky scrolling.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dilizarovcommented, Jan 23, 2021

Also, I hope I don’t jinx myself, but I must say… If we ignore this bug, then this is the first time I’ve incorporated virtualization in a project and have said to myself “wow that was so simple and the results are amazing” instead of cursing and trying to get everything right. So kudos to you.

I’ve said it before, but this really is a magical library. I hope my results remain the same when I cross-browser test and test on mobile too 😂.

1reaction
dilizarovcommented, Jan 23, 2021

@petyosi I can confirm that this release https://github.com/petyosi/react-virtuoso/releases/tag/v1.2.5 causes the issue.

Will look into it a bit more.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Shoptimizer and CommerceKit Changelog - CommerceGurus
See Shoptimizer's Update Guide to get the latest version of the theme. ... New – Simple scroll option within the Product Gallery module....
Read more >
Performance regression on latest update / Applications ...
I've recently updated my system, and now whenever I play a game (tried with Deep Rock Galactic and Age of Empires II DE), ......
Read more >
io.extendreality.tilia.camerarigs.spatialsimulator.unity - Yarn
Malimbe: This removes the last remaining elements of Malimbe and whilst it does not cause any breaking changes within this package, it removes...
Read more >
Changelog - Kadence Blocks
Fix: Update Issue. ... Add: Scroll Spy to Table of Contents Block. Update: Remove jQuery dependency ... 1.3.0 = Fix: Jerky Accordion Animation....
Read more >
Change log - Better Than Wolves Wiki - sargunster.com
Fixed an issue where wolves would not always update their texture to ... Fixed an issue sometimes causing the insides of hampers, ovens, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found