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
After removing an ingredient in the inventory list, the listview rerenders and removes the last item in the list from view, not the ingredient that was just deleted. This is purely a rendering problem, as in both the server and the local data store the correct ingredient is removed correctly.
The problem may lie with how we are using the dataSource and cloneWithRows component states. When you comment out the setState datasource item in onListItemRemove(), the problem goes away, but extra list row seperators remain at the bottom of the screen.
Needs more research to determine exact problem and solution.
The text was updated successfully, but these errors were encountered:
After removing an ingredient in the inventory list, the listview rerenders and removes the last item in the list from view, not the ingredient that was just deleted. This is purely a rendering problem, as in both the server and the local data store the correct ingredient is removed correctly.
The problem may lie with how we are using the dataSource and cloneWithRows component states. When you comment out the setState datasource item in onListItemRemove(), the problem goes away, but extra list row seperators remain at the bottom of the screen.
Needs more research to determine exact problem and solution.
The text was updated successfully, but these errors were encountered: