mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-02 14:54:58 +08:00
Revert D5238126: Add velocity to onScrollEndDrag event
Differential Revision: D5238126 fbshipit-source-id: a8b5f9445fa15a0ef0851303961dbf63b5d46623
This commit is contained in:
committed by
Facebook Github Bot
parent
e2628f93b5
commit
076eaec805
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user