How can you zoom out using JavaScript in MobileSafari?

When you double-click or select an input field, it will increase. I would suggest that entering BLUR data will automatically zoom to the previous zoom level, however this does not happen, and the user needs to manually zoom out. Is it possible to do this with javascript too?

+4
source share
1 answer

This is the default behavior of the Safari iOS browser. this is especially important in selectboxes.

to avoid this, please override the default font size provided by jqm. you can do something like this.

.ui-select .ui-btn select{ font-size: 50px; } 
0
source

Source: https://habr.com/ru/post/1412144/


All Articles