Skip to content

Conversation

ian-wd
Copy link

@ian-wd ian-wd commented Aug 7, 2025

🐛 Bug Fixes

  • Properly handles onStrokeEnd not firing when gestures are interrupted by system events (incoming calls, notifications, app switching, etc.)
  • Ensures consistent stroke completion callbacks across iOS and Android platforms

🔧 Code Quality

  • Added onPanResponderTerminate handler to complement existing onPanResponderRelease

Both voluntary gesture release and forced gesture termination now properly finalize stroke data and trigger completion events, ensuring reliable drawing state tracking regardless of how the gesture ends.

Before

pan-gesture-before.mp4

After

pan-gesture-after.mp4

@ian-wd ian-wd requested a review from iBotPeaches August 7, 2025 05:02
@iBotPeaches iBotPeaches merged commit c43dba8 into master Aug 7, 2025
1 check passed
@iBotPeaches iBotPeaches deleted the responder-terminate branch August 7, 2025 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants