We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 864bd66 commit 36161ccCopy full SHA for 36161cc
plugin/platforms/android/java/com/nativescript/gesturehandler/PageLayout.java
@@ -86,9 +86,11 @@ public void requestDisallowInterceptTouchEvent(boolean disallowIntercept) {
86
}
87
88
public boolean dispatchTouchEventToOrchestrator(MotionEvent ev) {
89
- this.mPassingTouch = true;
90
- this.mOrchestrator.onTouchEvent(ev);
91
- this.mPassingTouch = false;
+ if (this.mOrchestrator != null) {
+ this.mPassingTouch = true;
+ this.mOrchestrator.onTouchEvent(ev);
92
+ this.mPassingTouch = false;
93
+ }
94
// if (GestureHandler.debug) {
95
// Log.d("JS", "PageLayout dispatchTouchEventToOrchestrator " + this.mShouldIntercept);
96
// }
0 commit comments