-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #6639: VirtualScroller improve useUpdate comparison #6643
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Ignored Deployments
|
(copied from comment on the ticket #6639). I don't think using deepequals is a good idea. This was my fix for this issue: line 570 of VirtualScroll.js
What do you think ? |
Yes but your fix presupposes |
My understanding is that when virtualScroller "both" property is set to true, then items should be an array of arrays, of the same length, so items[0] must be an array. There is another occurence of items[0] at line 250 of virtualScroller.js:
|
understood let me look deeper |
OK updated, I made it a little more readable and understandable for the next person! |
Thank you for taking the time to rewrite the code and make it more readable. |
Fix #6639: VirtualScroller compare using deepEquals