# Search / Input mobile zoom

### Problem description

The mobile Safari browser on iOS devices zooms into the page when an input field such as search field is clicked. This is not a bug but a feature of the Apple Browser. If the font size in the input field is smaller than `16px` mobile Safari tries to optimize readability in the field by zooming in on the page.

It is annoying, however, that when you leave the input field, the browser does not automatically zoom out again.

### Explanation

The problem has already been dealt with on Stackoverflow and is not a Shopware-specific problem.

{% embed url="<https://stackoverflow.com/questions/2989263/disable-auto-zoom-in-input-text-tag-safari-on-iphone>" %}

This was already criticized in Shopware's issue tracker under Shopware 5:\
<https://issues.shopware.com/issues/SW-24520>

The behavior can also be observed in the default Shopware 6 theme:

<img src="/files/txNebmAHi4lsu4piFMyH" alt="Zoom-Funktion des Browser Safari bei Input-Feldern" width="375">

### Solution

As it stands, there is no general solution for this behavior. Considerations to completely lock the zoom function of the page would entail other usability issues.

Probably the easiest solution is to set the input fields with a minimum font size of `16px`. In the theme configuration under *Elements > Forms > Basic Settings* in the **font-size (1)** field you can set this to 16px.

![](/files/1TYbeOfVlGhXVSMvWN6z)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://themedocs.zenit.design/en/faq/known-issues/search-input-mobile-zoom.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
