fix(perf): scroll juddering when scrolling up#4725
fix(perf): scroll juddering when scrolling up#4725lukecotter wants to merge 2 commits intoolifolkerd:masterfrom
Conversation
Improves performance + appears to resolve a judder issue on scroll
|
@8483 thanks for trying it. Can you add a Jsfiddle which shows the issue. Seeing your exact config really helps. I'll try see if I can work out what's happening. The changes here completely solved the judder for me with datatree enabled. Did these changes make things worse for you? Or just the same? |
The glitch starts to appear when you expand/collapse the tree. So when it happens, and you try to scroll up, it will scroll down a little bit by accident, then scroll up. And it always happens repeatedly. It's not the configuration. Because I try asking ai to create a demo page, it happens as soon as you expand/collapse the tree. But if you don't touch them, it will be fine for scrolling |

VirtualDomVerticalby adding rows to the DOM in bulk using aDocumentFragment