I found the way. I need to add 'style="touch-action: none' in the body header
I found the way. I need to add 'style="touch-action: none' in the body header
Last edited by ddonate; 21st December 2016 at 12:16.
It seems that my first post text was lost... I said:
Hi,
I have a WebEngineView in a QML element, and I need to avoid zooming on touch devices (by using the fingers, I mean). I have a touchscreen with windows 10
I have not found anything to add in the QML side, so I have tried to add code in the HTML I load (in the <head>):
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
but no success.
Thanks,
Diego
Bookmarks