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(swipe): do not call completion handler on list cell swipe actions #693

Merged
merged 1 commit into from
May 3, 2023

Conversation

dskuza
Copy link
Contributor

@dskuza dskuza commented May 3, 2023

Summary

Resolves an issue where there would be a glitchy animation where the cell would be resetting its swipe state, while also getting deleted due to an archive / move to saves

Implementation Details

See added code comment.

Test Steps

  • Swipe and tap "Archive" from an item in Saves; there should be a single animation of the cell getting deleted

  • Long-swipe to "Archive" from an item in Saves; there should be a single animation of the cell getting deleted

  • Swipe and tap "Move to Saves" from an item in Archive; there should be a single animation of the cell getting deleted

  • Long-swipe to "Move to Saves" from an item in Archive; there should be a single animation of the cell getting deleted

PR Checklist:

  • Added Unit / UI tests
  • Self Review (review, clean up, documentation, run tests)
  • Basic Self QA

Resolves an issue where there would be a glitchy animation where the cell would be resetting its swipe state, while also getting deleted due to an archive / move to saves
@dskuza dskuza requested a review from a team as a code owner May 3, 2023 16:07
@dskuza dskuza requested review from nzeltzer and timc-mozilla and removed request for a team May 3, 2023 16:07
@dskuza dskuza enabled auto-merge (rebase) May 3, 2023 16:35
@dskuza dskuza merged commit 9f02064 into develop May 3, 2023
@dskuza dskuza deleted the swipe-action-animations branch May 3, 2023 16:40
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.

2 participants