Revert D5238126: Add velocity to onScrollEndDrag event

Differential Revision: D5238126

fbshipit-source-id: a8b5f9445fa15a0ef0851303961dbf63b5d46623
This commit is contained in:
Andrew Y. Chen
2017-06-23 18:54:08 -07:00
committed by Facebook Github Bot
parent e2628f93b5
commit 076eaec805
7 changed files with 10 additions and 142 deletions

View File

@@ -836,12 +836,11 @@ public class ReactTextInputManager extends BaseViewManager<ReactEditText, Layout
ScrollEventType.SCROLL,
horiz,
vert,
0f, // can't get x velocity
0f, // can't get y velocity
0, // can't get content width
0, // can't get content height
mReactEditText.getWidth(),
mReactEditText.getHeight());
mReactEditText.getHeight()
);
mEventDispatcher.dispatchEvent(event);