Disable inner scroll with viewport height zero

This commit is contained in:
M66B
2025-09-20 21:29:07 +02:00
parent eb07693f8e
commit 77aa54bd4e

View File

@@ -415,6 +415,8 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC
}
}
}
if (viewportHeight == 0)
intercept = false;
getParent().requestDisallowInterceptTouchEvent(intercept || event.getPointerCount() > 1);
lastX = event.getX();