You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to use the 2-finger-gesture to zoom a WebView content on Android? Yesterday, I suddenly had this working, but I don't know why it worked then. Because now, it does not work anymore and I didn't really change anything in that area.
It has to do with the screen orientation. Switching several times between portrait and landscape makes the zoom work. But where is the logic? I would like to have the zooming always active...
[...]
I found the solution. The following code enables pinch zoom on Android:
Originally posted by @t-arn on Discord
Is it possible to use the 2-finger-gesture to zoom a WebView content on Android? Yesterday, I suddenly had this working, but I don't know why it worked then. Because now, it does not work anymore and I didn't really change anything in that area.
It has to do with the screen orientation. Switching several times between portrait and landscape makes the zoom work. But where is the logic? I would like to have the zooming always active...
[...]
I found the solution. The following code enables pinch zoom on Android:
I don't know why it sometimes works without this code.
Should we add this to the Android implementation of WebView?
Originally posted by @freakboy3742 on Discord
I haven’t dug into the specifics enough to know if there are other consequences, but on the face of it, it seems like a reasonable change.
The text was updated successfully, but these errors were encountered: