react: onResponderGrant called before onResponderTerminate

When a responder captures the active responder, it seems that onResponderTerminate is not called until after onResponderGrant. This seems like the wrong thing to do. Are there reasons for this behavior?

About this issue

  • Original URL
  • State: open
  • Created 8 years ago
  • Comments: 18 (10 by maintainers)

Most upvoted comments

I still don’t know about the original intent of the diff:

onResponderReject will be called after the native View has already intercepted the touch.

Why is this true? And why are we looking at the return value of onResponderGrant? If something wants the gesture lock, shouldn’t it always block native gestures? I’d say so.