In the mobile menu, when clicking the hamburger icon, the menu currently appears with the search element in focus, as shown in the second image. I would like to disable this autofocus so that, when the hamburger icon is clicked, the menu appears as it does in the third image. How can I achieve this?
Hi Ketan,
Thanks for reaching out.
It seems you are facing a similar problem to the one described in the following thread. I would suggest you check those.
Hope it helps.
Thanks
Hey, the above threads which you shared are not working in my case. Let me explain my issue one more time.
I want to disable the autofocus for search bar in mobile menu. so that whenever user clicks on hamburger menu the side menu should open normally so that the side menu should not zoom out. This zoom out issue is specifically on the apple phone such as iPhone 13.
I just want it not to zoom out on any mobile device. please help me in solving this. let me know if you need more clarification.
Hey @vks_group,
Safari typically zooms in when font sizes of input fields are below 16px. Easiest way to avoid this would be to increase the input fields font size to at least 16px.
Thank you!
this solution worked for me
Hi Ketan,
Glad to know that the solution worked for you.
Thanks
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.