Skip to content

fix: avoid freeze on very fast repeated swipes#126

Open
ncthuc2004 wants to merge 1 commit into
marcosgriselli:masterfrom
ncthuc2004:issuehunt-52-quick-swipe-freeze
Open

fix: avoid freeze on very fast repeated swipes#126
ncthuc2004 wants to merge 1 commit into
marcosgriselli:masterfrom
ncthuc2004:issuehunt-52-quick-swipe-freeze

Conversation

@ncthuc2004

@ncthuc2004 ncthuc2004 commented May 14, 2026

Copy link
Copy Markdown

Summary

  • prevent repeated swipe transitions from starting while a previous tab transition is still resolving
  • guard both swipe gesture handling and tab selection with isTransitionInProgress
  • reset the guard when transition completes or when no transition starts

Why

Issue #52 reports app freezes during very fast repeated swipes. The change serializes swipe-driven transitions to avoid re-entrant state updates.

Testing

  • Reasoned from transition lifecycle in SwipeableTabBarController
  • No iOS simulator available in this environment

IssueHunt Summary

Referenced issues

This pull request has been submitted to:


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