From 93a73d1333c9d5738c9b27cb5a00a28021b18a3c Mon Sep 17 00:00:00 2001 From: Arthur Ouaki Date: Mon, 28 Aug 2017 14:38:44 +0200 Subject: [PATCH] Fix drag event not sent on android --- .../main/java/com/rssignaturecapture/RSSignatureCaptureView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/android/src/main/java/com/rssignaturecapture/RSSignatureCaptureView.java b/android/src/main/java/com/rssignaturecapture/RSSignatureCaptureView.java index e3ea835d..bca1d031 100644 --- a/android/src/main/java/com/rssignaturecapture/RSSignatureCaptureView.java +++ b/android/src/main/java/com/rssignaturecapture/RSSignatureCaptureView.java @@ -199,6 +199,7 @@ public boolean onTouchEvent(MotionEvent event) { addPoint(getNewPoint(eventX, eventY)); getParent().requestDisallowInterceptTouchEvent(true); setIsEmpty(false); + sendDragEventToReact(); dragged = false; break;