How to disable auto focus zooming?

Thanks for checking in.
I have been wondering if it’s possible to disable autofocus zooming when users click an input field in the mobile version.

I’ve attached a video with the issue I’m experiencing. first example is editorX website and second is from the classic editor. I want to achieving the second one in the editor X.

Thanks

Hey Ishaq,
Auto Zooming is a default preference of this component. You can cancel this setting in premium accounts by adding the following custom code:

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

Hope it helps!
Marina, EditorX team.

I have a premium account and I’m trying to remove the auto focus for my signup input fields. Where would I add this code? I’m using Wix Studio.

You should be able to stop the auto zoom with any account and no code needed, I remember reading on here a long time ago that if you make sure the font size of the input is a certain size upwards it won’t auto zoom on mobile regardless, I can’t remember off the top of my head if the font threshold is 16 or 18, it’s something around that realm but I haven’t tried it with Studio yet… hopefully it still works the same as Editor X!

1 Like

You’re the best! Yes, you were correct. Set the font size to a minimum of 18 and it will get rid of that pesky zoom on Mobile. Worked for me!

Amazing! Just to add, as I don’t see it mentioned in the topic - this is a default behaviour of the OS, rather than a Wix/Studio behaviour. And yes, it’s if the font-size is less than 16px :slight_smile: