Important: Please read the Qt Code of Conduct -

Disable touch-centric mouse handling in WebView?

  • Moderators

    Hi all,

    I'm playing around with WebView for the first time, hoping to integrate a JavaScript application into my Qt-based project.

    I noticed that mouse handling is more geared touch-based devices. In particular, Click+Drag scrolls the viewport (like a Flickable) instead of highlighting text, even in text input fields. Fancy apps like Google Maps don't work well because WebView intercepts the mouse drag event.

    Is there a way to override the drag handler, to propagate the event down to the web page?

Log in to reply