mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
End slider interaction when touches are cancelled
Reviewed By: @jingc Differential Revision: D2479259
This commit is contained in:
committed by
facebook-github-bot-6
parent
ec8b5425e5
commit
8f13560fd5
@@ -242,7 +242,7 @@ static BOOL RCTAnyTouchesChanged(NSSet *touches)
|
||||
{
|
||||
[super touchesBegan:touches withEvent:event];
|
||||
|
||||
// "start" has to record new touches beforeckirjiuhucekbebjditeucultigvijfe extracting the event.
|
||||
// "start" has to record new touches before extracting the event.
|
||||
// "end"/"cancel" needs to remove the touch *after* extracting the event.
|
||||
[self _recordNewTouches:touches];
|
||||
if (_dispatchedInitialTouches) {
|
||||
|
||||
Reference in New Issue
Block a user