Skip to content

fix: 🐛 Prevent re-entrant calls to _onComplete during rapid barrier taps (#645)#654

Merged
vatsaltanna-simformsolutions merged 1 commit into
masterfrom
fix/rapid-taps
Jun 16, 2026
Merged

fix: 🐛 Prevent re-entrant calls to _onComplete during rapid barrier taps (#645)#654
vatsaltanna-simformsolutions merged 1 commit into
masterfrom
fix/rapid-taps

Conversation

@vasu-nageshri-simform

@vasu-nageshri-simform vasu-nageshri-simform commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Add _isCompleting boolean guard to prevent concurrent execution of _onComplete()
when rapid barrier taps occur during step transition animations. This prevents
null-check crashes from calling reverse() on already-disposed AnimationControllers.

Fixes crash when user rapidly taps the barrier during showcase step transitions.

Description

Checklist

  • The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
  • I have followed the Contributor Guide when preparing my PR.
  • I have updated/added tests for ALL new/updated/fixed functionality.
  • I have updated/added relevant documentation in docs and added dartdoc comments with ///.
  • I have updated/added relevant examples in examples or docs.

Breaking Change?

  • Yes, this PR is a breaking change.
  • No, this PR is not a breaking change.

Related Issues

Fixes #645

…aps (#645)

Add _isCompleting boolean guard to prevent concurrent execution of
_onComplete()
when rapid barrier taps occur during step transition animations. This
prevents
null-check crashes from calling reverse() on already-disposed
AnimationControllers.

Fixes crash when user rapidly taps the barrier during showcase step
transitions.
@vatsaltanna-simformsolutions vatsaltanna-simformsolutions merged commit 3dedec7 into master Jun 16, 2026
7 of 8 checks passed
@vatsaltanna-simformsolutions vatsaltanna-simformsolutions deleted the fix/rapid-taps branch June 16, 2026 14:09
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.

Unhandled exception when rapidly tapping during showcase

3 participants