Skip to content

[iOS] Rename fromManual: to fromManualStateChange: in gesture handler API#3996

Merged
akwasniewski merged 2 commits into@akwasniewski/ios-fix-state-manager-beginfrom
copilot/sub-pr-3986
Feb 25, 2026
Merged

[iOS] Rename fromManual: to fromManualStateChange: in gesture handler API#3996
akwasniewski merged 2 commits into@akwasniewski/ios-fix-state-manager-beginfrom
copilot/sub-pr-3986

Conversation

Copy link
Contributor

Copilot AI commented Feb 25, 2026

The fromManual: selector label was ambiguous — it could be confused with the existing manualActivation flag on RNGestureHandler. Rename it to fromManualStateChange: to clearly convey that this parameter tracks state changes triggered via setGestureState (the manual state manager path), not manual activation.

  • RNGestureHandler.h — updated all three method declarations
  • RNGestureHandler.mm — updated implementations and all call sites
  • RNGestureHandlerModule.mm — updated setGestureState call sites (the only places passing YES)
  • All handler files (RNFlingHandler, RNHoverHandler, RNLongPressHandler, RNPanHandler, RNPinchHandler, RNRotationHandler, RNTapHandler) — updated forwarding declarations and call sites

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

…iles

Co-authored-by: m-bert <63123542+m-bert@users.noreply.github.com>
Copilot AI changed the title [WIP] WIP address feedback on activation callback for inactive gestures [iOS] Rename fromManual: to fromManualStateChange: in gesture handler API Feb 25, 2026
@akwasniewski akwasniewski marked this pull request as ready for review February 25, 2026 12:04
@akwasniewski akwasniewski merged commit d3ed085 into @akwasniewski/ios-fix-state-manager-begin Feb 25, 2026
@akwasniewski akwasniewski deleted the copilot/sub-pr-3986 branch February 25, 2026 12:04
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.

3 participants