-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Data not being bound to DOM when array is changed. #98
Labels
Comments
Ping @martingust @AStoker |
Related to: #106 |
AStoker
added a commit
to AStoker/ui-virtualization
that referenced
this issue
Mar 31, 2017
Resolves: aurelia#106, aurelia#98, aurelia#89 Previous behavior did not handle array changes correctly (in particular changes with the size of the array). Behavior now allows for array changes with different sizes, and should keep appropriate scroll positions.
Resolved by #107 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm submitting a bug report
1.0.0-beta.3.0.2
Please tell us about your environment:
Operating System:
Windows 10
Node Version:
6.8.1
3.10.8
Chrome 54.0.2840.99 (only one I've tested in so far)
all | TypeScript X.X | ESNext
Current behavior:
I have an array of around 300 elements. This array is filtered based on what a user types in a textbox. If I don't scroll. This seems to work perfectly. If I scroll about halfway down, and type in the search textbox, it looks like it is bringing back the correct results when I look in the console, but they are not being bound to the DOM properly. So if it is only supposed to show, say 13, results, I will see 13 list items, on the page, but no data.
I have created a repository here for the issue: https://github.com/chuckwatson87/au-virtualization-refresh-issues
And here is a GitHub Pages site for it: https://chuckwatson87.github.io/au-virtualization-refresh-issues/index.html.
The easiest way I've been able to recreate this behavior is to is to scroll down about halfway, and type "ann" in the textbox.
Expected/desired behavior:
What is the expected behavior?
For it to return the data with no binding issues
What is the motivation / use case for changing the behavior?
User searching and filtering a big list frequently.
The text was updated successfully, but these errors were encountered: