开发者

How to set fix zoom level or scale back in webview?

开发者 https://www.devze.com 2023-01-14 21:10 出处:网络
Zoom works without any pro开发者_C百科blem, but if I select any input field the webview zooms in automatically.

Zoom works without any pro开发者_C百科blem, but if I select any input field the webview zooms in automatically.

How do I can prevent this zoom behavior?

  • set fix zoom level?
  • scale back to previous zoom level?


Not sure about Android webkit, but this works on iOS webkit:

input[type='text'],textarea {font-size:1em;}
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号