Describe your issue:
Clicking the 'filter'-button does not always filter the correct items.
Can you reproduce the issue? http://riotjs.com/examples/plunker/?app=todo-app
or Alternative saved Plunk
Check the second item so that the first and the second item are marked as done and the third item is not marked as done. Then click the filter button.
It removes the first item and the third item and leaves the second one, rendered as done.
It seems to be related to the second item in the list (you can remove the hidden one and the problem still exists).
If you have four items and mark the first three then it removes 1, 3 and 4.
If you have four items and mark the first two then it removes 1 and 3.
It seems to always remove the next following unmarked item in the list and leave the second one rendered as marked.
On which browser/OS does the issue appear?
Chrome Version 55.0.2883.87 m
Which version of Riot does it affect?
The example seems to use the latest version in the master branch.
How would you tag this issue?
changed the title from
Bug in the Todo-List Example
Filtered List Bug (Found in the Todo-List Example)Feb 1, 2017