提交 d2d8bf39 编写于 作者: A Amir Hardon 提交者: amirh

Pass touch events to embedded Android views with dispatchTouchEvents.

Was previously calling onTouchEvent directly which doesn't make the
event go through the full pipeline (e.g onInterceptTouchEvent is not
called).
上级 21690865
......@@ -243,7 +243,7 @@ public class PlatformViewsController implements MethodChannel.MethodCallHandler
flags
);
view.onTouchEvent(event);
view.dispatchTouchEvent(event);
result.success(null);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册