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

Fix for incorrect row removal with function #223

Closed
wants to merge 1 commit into from

Conversation

jalada
Copy link

@jalada jalada commented Jul 14, 2014

When more than one row was removed, sometimes the wrong row would be removed due to the direction of removal (first to last rather than last to first).

This is related to #210, but that solution involved reversing the array of rows to remove, which doesn't seem very performant. This solution unshifts the row indices so they're in the right order to begin with. I wrote a similar corresponding test which fails without this fix.

When more than one row was removed, sometimes the wrong row would be
removed due to the direction of removal (first to last rather than last
to first).
@jalada
Copy link
Author

jalada commented Jan 26, 2021

👋🏻 from 2021!

@jalada jalada closed this Jan 26, 2021
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.

1 participant