CMS Development

BManandhar
メンバー

Regarding zoom in and zoom out

解決

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 いいね!
1件の承認済みベストアンサー
Kevin-C
解決策
名誉エキスパート | Solutions Partner
名誉エキスパート | Solutions Partner

Regarding zoom in and zoom out

解決

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

元の投稿で解決策を見る

1件の返信
Kevin-C
解決策
名誉エキスパート | Solutions Partner
名誉エキスパート | Solutions Partner

Regarding zoom in and zoom out

解決

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