You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The root cause of this appears to be that after adding item a, the wrapper in EntityListView is not fully updated; the new component is added to the changeQueue, but is not yet returned when iterating through elements in EntityListView.handleEntityRemoved
To resolve this, I think that EntityListView.handleEntityRemoved should instead call wrapper.getChildrenAsList(true) to include the queued changes when removing items.
The text was updated successfully, but these errors were encountered:
Given a sequence of add, remove, add events on an
EntityList
, theEntityListView
can end up showing incorrect items.For example:
The root cause of this appears to be that after adding item
a
, thewrapper
inEntityListView
is not fully updated; the new component is added to thechangeQueue
, but is not yet returned when iterating through elements inEntityListView.handleEntityRemoved
To resolve this, I think that
EntityListView.handleEntityRemoved
should instead callwrapper.getChildrenAsList(true)
to include the queued changes when removing items.The text was updated successfully, but these errors were encountered: