A
A
Alexander Sinitsyn2018-09-18 18:23:50
safari
Alexander Sinitsyn, 2018-09-18 18:23:50

How to return site zoom to normal after selecting dropdown list item?

When you click on the dropdown, the iphone zooms in on the page, which remains the same after selecting the item. I don’t know if this is normal or not, I don’t use an iPhone, but I need to either ban it or return it as it was. Who is in the know?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GEMOzloBIN, 2018-09-27
@a_u_sinitsin

Here https://stackoverflow.com/questions/6483425/preven... it is advised to completely disable scaling, this will solve the problem, but it will also take away the ability to manually scale the site for those who need it.
The phone zooms in if the font on the form is less than 16px. So the full solution would be to set the text of the font for the mobile version to 16px and then reduce it for the rest of the resolutions.

select: {font-size: 16px;
}
@media (min-width: 768px) {
    select: {font-size: 14px;}
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question