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

temporary fixed mustache index calculation with simple can.List when remove first item of list #613

Closed

Conversation

yusufsafak
Copy link
Contributor

And when you look console log after removing first item,you will see removed item appears in log and two times wrong index calculation. I could not find the bug but I think it is related to length event.

@justinbmeyer
Copy link
Contributor

Thanks. Will checkout.

@yusufsafak
Copy link
Contributor Author

I checked it again and I found that can.view.lists function can't update key property of item in index function. It causes wrong fromIndex.

@justinbmeyer
Copy link
Contributor

#620 includes a fix and your test. Thanks for the test!

@yusufsafak
Copy link
Contributor Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants