# Discourse 1.7.0.beta4 - Problems due to removal of fixed zoom \[Safari / iPhone\]

**URL:** https://meta.discourse.org/t/discourse-1-7-0-beta4-problems-due-to-removal-of-fixed-zoom-safari-iphone/50145
**Category:** Bug
**Created:** [September 14, 2016, 3:17pm UTC](https://meta.discourse.org/t/discourse-1-7-0-beta4-problems-due-to-removal-of-fixed-zoom-safari-iphone/50145 "2016-09-14T15:17:27Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [September 14, 2016, 3:17pm UTC](https://meta.discourse.org/t/discourse-1-7-0-beta4-problems-due-to-removal-of-fixed-zoom-safari-iphone/50145/1 "2016-09-14T15:17:27Z")

</div>

I upgraded my Discourse instance recently to the latest code, and have noticed that I can now zoom in mobile Safari. I also upgraded to iOS10, so it may relate to an iOS change and not a Discourse change.

This wouldn’t be a problem in itself, but I’m finding that Discourse is now regularly showing a subtly **wrong zoom level** , which truncates content on the right-hand side of the UI. Very problematic. Not all users will know to zoom out again.

This wrong zoom problem occurs when opening a compose window and then persists until I zoom manually back out again:

 ![](https://global.discourse-cdn.com/meta/original/3X/d/7/d72bb926837968fafc7ee65b73c3f01346d7d25e.PNG)

It’s affecting [meta.discourse.org](http://meta.discourse.org) too.

 ![](https://global.discourse-cdn.com/meta/original/3X/7/c/7ced241c6aca7f96ed050c8b0a67a89cc57b158f.PNG)

---

<div class="post-metadata">

### Author: ![Overgrow](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/overgrow/32/478189_2.png) [@Overgrow](https://meta.discourse.org/u/Overgrow)
#### Post date: [September 14, 2016, 4:17pm UTC](https://meta.discourse.org/t/discourse-1-7-0-beta4-problems-due-to-removal-of-fixed-zoom-safari-iphone/50145/2 "2016-09-14T16:17:14Z")

</div>

This must be something with iOS 10.. I don’t have this problem on iOS 9.3.5 both iphone and ipad here on Meta.

---

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [September 14, 2016, 4:45pm UTC](https://meta.discourse.org/t/discourse-1-7-0-beta4-problems-due-to-removal-of-fixed-zoom-safari-iphone/50145/3 "2016-09-14T16:45:42Z")

</div>

Looks like there was a change in iOS10 beta 1 that meant Safari stopped respecting the `user-scalable=no` meta tag, although it was reverted back to the iOS9 behaviour in iOS10 beta 6, according to this:

> <https://stackoverflow.com/questions/37808180/disable-viewport-zooming-ios-10-safari>

---

<div class="post-metadata">

### Author: ![ntadej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ntadej/32/116716_2.png) [@ntadej](https://meta.discourse.org/u/ntadej)
#### Post date: [September 14, 2016, 5:05pm UTC](https://meta.discourse.org/t/discourse-1-7-0-beta4-problems-due-to-removal-of-fixed-zoom-safari-iphone/50145/4 "2016-09-14T17:05:27Z")

</div>

No, the “issue” is still here. They just enabled developers to disable this in WebView in apps.

---

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [September 14, 2016, 7:44pm UTC](https://meta.discourse.org/t/discourse-1-7-0-beta4-problems-due-to-removal-of-fixed-zoom-safari-iphone/50145/5 "2016-09-14T19:44:07Z")

</div>

Hope everyone agrees - regardless of the specifics, we’ve got a serious new usability problem here for Discourse. As I type this reply, my cursor and text just went offscreen in the compose box.

iOS 10 uptake will be rapid, as all iPhone software updates are. Most of the mobile users on my forum instance are on iOS - as I’m sure is the case on other forums.

I think the first step might be to examine why the compose window causes the browser to partially zoom in. If we can’t prevent the user zooming, we need to at least present a UI that doesn’t mess up the zoom level itself.

---

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [September 14, 2016, 8:30pm UTC](https://meta.discourse.org/t/discourse-1-7-0-beta4-problems-due-to-removal-of-fixed-zoom-safari-iphone/50145/6 "2016-09-14T20:30:39Z")

</div>

Wait a minute…

In the page source of the Discourse forum:

`<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=yes">`

user-scalable=yes ???

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [September 14, 2016, 8:43pm UTC](https://meta.discourse.org/t/discourse-1-7-0-beta4-problems-due-to-removal-of-fixed-zoom-safari-iphone/50145/7 "2016-09-14T20:43:48Z")

</div>

I can confirm this is a serious issue on iOS 10, will investigate a fix / workaround

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [September 14, 2016, 9:37pm UTC](https://meta.discourse.org/t/discourse-1-7-0-beta4-problems-due-to-removal-of-fixed-zoom-safari-iphone/50145/8 "2016-09-14T21:37:41Z")

</div>

Let’s try this

[https://github.com/discourse/discourse/commit/fe7883eeeab6872f68e072063ce95116b389f85a](https://github.com/discourse/discourse/commit/fe7883eeeab6872f68e072063ce95116b389f85a)

There is no practical way for us to disable zooming anymore, but this hack works around the resizing while composing which is egregious.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 14, 2016, 10:17pm UTC](https://meta.discourse.org/t/discourse-1-7-0-beta4-problems-due-to-removal-of-fixed-zoom-safari-iphone/50145/9 "2016-09-14T22:17:20Z")

</div>

I won’t be able to try this until my iPhone 7 arrives on Friday. I upgrade my OS like a _real_ Apple user: I throw my old device in the trash and buy a new one.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [September 15, 2016, 4:52am UTC](https://meta.discourse.org/t/discourse-1-7-0-beta4-problems-due-to-removal-of-fixed-zoom-safari-iphone/50145/10 "2016-09-15T04:52:11Z")

</div>

I’ll like to know which trash can you will be throwing the old device into 😛

---

<div class="post-metadata">

### Author: ![seaninsound](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/seaninsound/32/65665_2.png) [@seaninsound](https://meta.discourse.org/u/seaninsound)
#### Post date: [September 17, 2016, 12:13pm UTC](https://meta.discourse.org/t/discourse-1-7-0-beta4-problems-due-to-removal-of-fixed-zoom-safari-iphone/50145/11 "2016-09-17T12:13:08Z")

</div>

Have had this issue too. Can’t believe iOS10 has been allowed out to the public. It’s one of the buggiest updates I’ve ever suffered through.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [December 10, 2016, 11:49pm UTC](https://meta.discourse.org/t/discourse-1-7-0-beta4-problems-due-to-removal-of-fixed-zoom-safari-iphone/50145/12 "2016-12-10T23:49:42Z")

</div>


