Skip to content

Commit

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

Co-authored-by: Nick <lefever@meta.com>
  • Loading branch information
lenaic and Nick committed Aug 7, 2023
1 parent 29b7437 commit 70706c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions React/Fabric/RCTSurfaceTouchHandler.mm
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,7 @@ - (void)_unregisterTouches:(NSSet<RCTUITouch *> *)touches // [macOS]
}
_activeTouches.erase(touch);
#else // [macOS
_identifierPool.enqueue(activeTouch.touch.identifier);
_activeTouches.erase(touch.eventNumber);
#endif // macOS]
}
Expand Down

0 comments on commit 70706c8

Please sign in to comment.