Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing ingredient rendering bug #2

Open
alexcoll opened this issue Mar 26, 2017 · 0 comments
Open

Removing ingredient rendering bug #2

alexcoll opened this issue Mar 26, 2017 · 0 comments
Assignees

Comments

@alexcoll
Copy link
Owner

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.

@alexcoll alexcoll added the bug label Mar 26, 2017
@alexcoll alexcoll self-assigned this Mar 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant