Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Scrolling up/down with table and virtual-repeat-for causes display bugs #128
I'm submitting a bug report
Please tell us about your environment:
It seems like the order of the array is changed, for example if I have fifty rows with ids 1-50 and then scroll up and down the order of which the array is displayed is changed. Instead of the first row being id=1 it's something else depending on how you scrolled.
What is the motivation / use case for changing the behavior?
Repo with example:
Before scrolling up and down:
After scrolling up and down:
As you can see the first row has switched position with another element in the array. In my case id 1 has swapped position with id 38. The problem seems to only affect the first element in the array but I'm not 100% sure.
Please clone the provided repo to reproduce the bug.
referenced this issue
Feb 10, 2018
I'm having same problem, with components. I'm creating a table, and each row has 3 charts, when I scroll up and down, the attached/detached method of the component is not called again. So it loads the wrong component.
It would also be nice to have rowCreated and scrollingStarted, scrollingEnded callbacks.