Skip to content

Error when removing a lot it items #49

@mbernard

Description

@mbernard
  1. I start with a base array of 5 items
  2. Then I add 150 items at index 2 with array.slice
  3. Then I remove those 150 items with array.slice
  4. I only have 4 items left in my view, however if I check the view model with AureliaContext extension for chrome I see that my array contains 5 items
  5. Worst, if I re-do step 2 and 3, I lose items in my view each time. At some point I got this javascript error

note: I don't have the problem when I add/remove smaller number of items at a time.

untitled

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions