Skip to content

Commit

Permalink
[fabric][touchhandler] Return active touch identifiers in surface tou…
Browse files Browse the repository at this point in the history
…ch handler on mouse up. (microsoft#1815)

Summary:
This stack picks all fabric changes merged on RN 0.71 macOS that have no side-effects on paper.

Cherry-pick of Fabric fixes:
microsoft#1815

Test Plan: Tested later in this stack.

Reviewers: chpurrer, #rn-desktop

Reviewed By: chpurrer

Differential Revision: https://phabricator.intern.facebook.com/D48138672

Tasks: T158583598

# Conflicts:
#	React/Fabric/RCTSurfaceTouchHandler.mm
  • Loading branch information
Nick Lefever authored and shwanton committed May 2, 2024
1 parent b5a5754 commit 2a45e95
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,7 @@ - (void)_unregisterTouches:(NSSet<RCTUITouch *> *)touches // [macOS]

_activePointers.erase(touch);
#else // [macOS
_identifierPool.enqueue(activeTouch.touch.identifier);
_activePointers.erase(touch.eventNumber);
#endif // macOS]
}
Expand Down

0 comments on commit 2a45e95

Please sign in to comment.