-
-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Labels
Description
I'm submitting a bug report
- Library Version:
major.minor.patch-pre
1.0.0-beta.3.0.1
Please tell us about your environment:
-
Operating System:
Windows 7 -
Node Version:
6.9.0 -
NPM Version:
3.10.8 -
**JSPM
JSPM 0.16.45 -
Browser:
Chrome -
Language:
ES6
Current behavior:
When you rebind the virtual list to a new array,
e.g. this.myArray = getNewData()
Then the list rebinds, but some of the items from the old array are still present.
-
What is the expected behavior?
Not that! List should only contain new items after a rebind. -
What is the motivation / use case for changing the behavior?
I'm using the virtual-repeat.for list to display search results. If they enter a new search, I want the old results to go away, and the new results to display.