Riot: components in each loop have their properties overwritten

Created on 3 May 2018  路  3Comments  路  Source: riot/riot

  1. Describe your issue:

When using an each loop and an item within the loop is removed, the subsequent item in the loop gets assigned the removed item's instance properties.

  1. Can you reproduce the issue?

https://jsfiddle.net/awei01/x8vc2n2w/

Instructions contained within the fiddle

  1. On which browser/OS does the issue appear?

Chrome/MacOS

  1. Which version of Riot does it affect?

3.9.4

  1. How would you tag this issue?

    • [x] Question
    • [x] Bug
    • [ ] Discussion
    • [ ] Feature request
    • [ ] Tip
    • [ ] Enhancement
    • [ ] Performance
bug fixed

Most helpful comment

thank you the issue was fixed in [email protected]

All 3 comments

thank you for this issue. It looks like a bug I need to verify it

thank you the issue was fixed in [email protected]

Fiddle with 3.9.5 is working as expected: https://jsfiddle.net/awei01/wqtw1x3c/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

syuilo picture syuilo  路  3Comments

anonimusprogramus picture anonimusprogramus  路  3Comments

josephrocca picture josephrocca  路  3Comments

GianlucaGuarini picture GianlucaGuarini  路  3Comments

bufferUnderrun picture bufferUnderrun  路  3Comments