Filtered List Bug (Found in the Todo-List Example) #2240

Closed
phas0r opened this Issue Feb 1, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@phas0r

phas0r commented Feb 1, 2017

  1. Describe your issue:
    Clicking the 'filter'-button does not always filter the correct items.

  2. 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.

  3. On which browser/OS does the issue appear?
    Chrome Version 55.0.2883.87 m
    Windows 7

  4. Which version of Riot does it affect?
    The example seems to use the latest version in the master branch.

  5. How would you tag this issue?

  • Question
  • Bug
  • Discussion
  • Feature request
  • Tip
  • Enhancement
  • Performance

@phas0r phas0r changed the title from Bug in the Todo-List Example to Filtered List Bug (Found in the Todo-List Example) Feb 1, 2017

@GianlucaGuarini GianlucaGuarini added the bug label Feb 2, 2017

@GianlucaGuarini

This comment has been minimized.

Show comment
Hide comment
@GianlucaGuarini

GianlucaGuarini Feb 2, 2017

Member

could you please move this issue here https://github.com/riot/examples?

Member

GianlucaGuarini commented Feb 2, 2017

could you please move this issue here https://github.com/riot/examples?

@GianlucaGuarini

This comment has been minimized.

Show comment
Hide comment
@GianlucaGuarini

GianlucaGuarini Feb 2, 2017

Member

nevermind leave it here, I want to check whether the issue is in the example or in riot

Member

GianlucaGuarini commented Feb 2, 2017

nevermind leave it here, I want to check whether the issue is in the example or in riot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment