Check if Android WebView is consuming touch events

后端 未结 4 881
臣服心动
臣服心动 2021-01-31 13:59

Short version

How can I detect whether Android WebView consumed a touch event? onTouchEvent always returns true and WebViewClient\'s on

4条回答
  •  萌比男神i
    2021-01-31 14:13

    According to this issue report, not possible. If the web code is under your control, you can implement some JavaScriptInterface to workaround this. If not, I am afraid there is no solution here.

提交回复
热议问题