CMS Development

BManandhar
Membre

Regarding zoom in and zoom out

Résolue

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 Votes
1 Solution acceptée
Kevin-C
Solution
Expert reconnu | Partenaire solutions
Expert reconnu | Partenaire solutions

Regarding zoom in and zoom out

Résolue

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

Voir la solution dans l'envoi d'origine

1 Réponse
Kevin-C
Solution
Expert reconnu | Partenaire solutions
Expert reconnu | Partenaire solutions

Regarding zoom in and zoom out

Résolue

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