CMS Development

BManandhar
Membro

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 Avaliação positiva
1 Solução aceita
Kevin-C
Solução
Especialista reconhecido(a) | Parceiro
Especialista reconhecido(a) | Parceiro

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

Exibir solução no post original

1 Resposta 1
Kevin-C
Solução
Especialista reconhecido(a) | Parceiro
Especialista reconhecido(a) | Parceiro

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