CMS Development

BManandhar
Miembro

Regarding zoom in and zoom out

resolver

When I am building site following the HubSpot boilerpate, I have create modules and templates.  I can zoom in and zoom out in mobile device. How can I remove this for the pages built in HubSpot

I have added this tag

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />

But still I am having issue.

Is there any solution?

0 Me gusta
1 Soluciones aceptada
Kevin-C
Solución
Experto reconocido | Partner
Experto reconocido | Partner

Regarding zoom in and zoom out

resolver

Hey @BManandhar 

 

After some brief research, it seems that maximum-scale=1.0, user-scalable=no are ignored by all iOS powered browsers.

 

I'm not sure about android and other but I'd bet they followed or will follow suit

 

The reasons referenced for ignoring it is accessibility.

Which is a pretty good reason IMO, though not a fan from a dev point of view.

Kevin Cornett - Sr. Solutions Architect @ BridgeRev

Ver la solución en mensaje original publicado

1 Respuesta 1
Kevin-C
Solución
Experto reconocido | Partner
Experto reconocido | Partner

Regarding zoom in and zoom out

resolver

Hey @BManandhar 

 

After some brief research, it seems that maximum-scale=1.0, user-scalable=no are ignored by all iOS powered browsers.

 

I'm not sure about android and other but I'd bet they followed or will follow suit

 

The reasons referenced for ignoring it is accessibility.

Which is a pretty good reason IMO, though not a fan from a dev point of view.

Kevin Cornett - Sr. Solutions Architect @ BridgeRev