# Meta 在旧版 iOS 上似乎部分功能异常

**URL:** <https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923>\
**Category:** Bug\
**Created:** [2018年十二月22日 21:19 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923 "2018-12-22T21:19:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![allu](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@allu](https://meta.discourse.org/u/allu)\
**Post date:** [2018年十二月22日 21:19 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/1 "2018-12-22T21:19:09Z")

</div>

I am often checking meta on my iPad IOS 10.3.2, and everything was always working fine until very recently. Now some topics now look like this (or even worse):

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/6/c65c60ba19d6ae5d6cc0b798230a629d8266a52c.png)

Safari works no better btw. Tried clearing browser cache, did not resolve issue. Desktop Chrome seems OK. Was not quite sure which category this belongs in, please move if I put it in the wrong place.

---

<div class="post-metadata">

**Author:** ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)\
**Post date:** [2018年十二月22日 21:31 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/2 "2018-12-22T21:31:55Z")

</div>

I can repro this using Safari on iPhone iOS 10.3.3 as well.

I think it might be related to lazy-loading. Seems to only affect topics that have images within any of the posts.

---

<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:** [2018年十二月22日 22:40 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/3 "2018-12-22T22:40:54Z")

</div>

I can’t repro this. What topics do you see it in? I am on iPad now (use it daily to browse meta) and have not seen this.

---

<div class="post-metadata">

**Author:** ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)\
**Post date:** [2018年十二月22日 22:45 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/4 "2018-12-22T22:45:40Z")

</div>

I’m pretty sure you have to be running an older iOS (pre-iOS 11 at least) to repro, but here are three that do not work on iOS 10.3.3 Safari:

[Brand Header - #86](https://meta.discourse.org/t/brand-header-theme-component/77977/86)

[The topic list doesn't need a category column - #62 by Mittineague](https://meta.discourse.org/t/the-topic-list-doesnt-need-a-category-column/101352/62)

[ProCourse Memberships 💸 - #56 by Joshua\_Kogan](https://meta.discourse.org/t/procourse-memberships/57558/56)

---

<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:** [2018年十二月22日 22:47 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/5 "2018-12-22T22:47:54Z")

</div>

Interesting maybe intersection observer or the polyfill is broken on older iOS versions @eviltrout?

Your fix is to update to latest iOS. Is there some reason you have not?

---

<div class="post-metadata">

**Author:** ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)\
**Post date:** [2018年十二月22日 22:53 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/6 "2018-12-22T22:53:01Z")

</div>

I have no reason I cannot, just reporting my findings, but others may have reason. I know older Apple hardware can get locked at an older iOS.

I guess the question is how old of a device/iOS should Discourse be expected to support.

---

<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:** [2018年十二月22日 22:55 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/7 "2018-12-22T22:55:40Z")

</div>

iOS 12 support:

- iPhone X iPhone 6/6 Plus and later
- iPhone SE iPhone 5S iPad Pro
- 12.9-in., 10.5-in., 9.7-in. iPad Air and later
- iPad, 5th generation and later
- iPad Mini 2 and later
- iPod Touch 6th generation

Only very old iPads would be affected. What model iPad do you have @allu

iOS 10 was released late 2016 for reference. It is almost 2019.

---

<div class="post-metadata">

**Author:** ![jesus2099](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jesus2099/32/119720_2.png) [@jesus2099](https://meta.discourse.org/u/jesus2099)\
**Post date:** [2018年十二月22日 23:19 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/8 "2018-12-22T23:19:13Z")

</div>

I have an iPad model A1416 (3rd generation) that will no longer update. It is stuck on iOS version 9.3.5. It is not that old.  
These 3 topics indeed don’t display and it is the first time I see empty topics like this.

---

<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:** [2018年十二月22日 23:26 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/9 "2018-12-22T23:26:54Z")

</div>

It’s from early 2012, so it is 7 years old 😉

---

<div class="post-metadata">

**Author:** ![jesus2099](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jesus2099/32/119720_2.png) [@jesus2099](https://meta.discourse.org/u/jesus2099)\
**Post date:** [2018年十二月22日 23:34 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/10 "2018-12-22T23:34:03Z")

</div>

Well not that old indeed, my PC same price is at least twice older.  
7 years is very short for this price, IMO.  
But that’s off topic, sorry.

---

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [2018年十二月23日 08:31 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/11 "2018-12-23T08:31:13Z")

</div>

Can any of you repro this on a different discourse forum than meta?

---

<div class="post-metadata">

**Author:** ![allu](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@allu](https://meta.discourse.org/u/allu)\
**Post date:** [2018年十二月23日 08:32 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/12 "2018-12-23T08:32:01Z")

</div>

> [@codinghorror](#):
>
> iOS 10 was released late 2016 for reference. It is almost 2019.

It’s an iPad Air 2 (release data October 22 2014). According to [Wikipedia](https://en.wikipedia.org/wiki/IOS_10), iOS 10.3.2 was released on May 15, 2017, so its 19 months old. Currently about 5% of my IOS users (IOS is \>35% of total) are still on the 10.3 release.

As I have only seen this very recently, I am suspecting that the problem I reported may have been introduced in the recent beta6 release. I had plans to update my forum to beta6, but wanted to first understand where you stand regarding this issue. If you don’t want to fix it, I can just inform my users to update their IOS devices and hope everyone sees it. If you do intend to fix it, I can delay updating my Pad so I can confirm the fix. As this problem only seems to apply to older IOS releases, I don’t mind either way.

Edit: I just wanted to take this opportunity to say a great THANKS for all the fantastic work that you and your team have done to provide this amazing piece of software to the online world. The fact that you are still responding to posts hours before Christmas is far beyond what could reasonably be expected.

---

<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:** [2018年十二月23日 08:43 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/13 "2018-12-23T08:43:59Z")

</div>

> [@allu](#):
>
> As I have only seen this very recently, I am suspecting that the problem I reported may have been introduced in the recent beta6 release. I had plans to update my forum to beta6, but wanted to first understand where you stand regarding this issue. If you don’t want to fix it, I can just inform my users to update their IOS devices and hope everyone sees it. If you do intend to fix it, I can delay updating my Pad so I can confirm the fix. As this problem only seems to apply to older IOS releases, I don’t mind either way.

We’re not sure. It has to do with the Intersection Observer stuff used to determine if images are visible.

My general recommendation is to upgrade to a newer iOS, as old stuff is almost certainly vulnerable.

---

<div class="post-metadata">

**Author:** ![allu](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@allu](https://meta.discourse.org/u/allu)\
**Post date:** [2018年十二月23日 09:08 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/14 "2018-12-23T09:08:32Z")

</div>

> [@j.jaffeux](#):
>
> Can any of you repro this on a different discourse forum than meta?

I just checked and can repro this on my QA instance, which is running v2.2.0.beta6 +84. The exact same topic does not have this problem under my v2.2.0.beta5 +158 production forum. So it very much looks like a beta6 problem. However, if I upload an image to my beta6 instance, that works fine too. It seems to make a difference under which version it was baked. Will try uploading a test image here:

Edit: removed image again, it broke the topic. Weird that this worked on my QA instance..

---

<div class="post-metadata">

**Author:** ![jesus2099](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jesus2099/32/119720_2.png) [@jesus2099](https://meta.discourse.org/u/jesus2099)\
**Post date:** [2018年十二月23日 10:30 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/15 "2018-12-23T10:30:33Z")

</div>

> [@j.jaffeux](#):
>
> Can any of you repro this on a different discourse forum than meta?

I tried to find a topic with lazy loading images in the MB Discourse I use and found one.  
We are in 2.2.0.beta6 as well but I don’t have the bug there, whatever I try [topic](https://community.metabrainz.org/t/phishing-warnings/405019), [lazy loading image post](https://community.metabrainz.org/t/phishing-warnings/405019/15) or [later post](https://community.metabrainz.org/t/phishing-warnings/405019/49). They all display OK with that same Ipad that cannot display [the 3 broken test topics here](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/4).

Maybe I don’t know exactly what kind of topic I should search.

In case it’s important, here on meta where my Ipad displays 3 broken topcis, I use the **Dark Theme**.  
Over there on MetaBrainz, where the Ipad had no issues with the example topic I found and linked above, I use the **MetaBrainz style, Dark (WIP)** theme (which is just a small derivate of the **Dark Theme** ).

Also FWIW, talking about exotic devices, there is no issues with these topics on my Lumia 640 phone (Windows 10 Mobile).

---

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [2018年十二月25日 14:50 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/16 "2018-12-25T14:50:46Z")

</div>

I believe @sam removed the line that checked if `IntersectionObserver` existed because we polyfill on IE. If we add that line back I think these problems would go away.

---

<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:** [2018年十二月25日 15:20 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/17 "2018-12-25T15:20:08Z")

</div>

This is very odd… the polyfill should work unconditionally no?

> <https://github.com/discourse/discourse/blob/0ca61242b8be4e6645d288765891d954f42e72d2/vendor/assets/javascripts/intersection-observer.js>

Can you spot anything trivially wrong with the polyfill? I can test this later on the simulator I guess.

---

<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:** [2018年十二月25日 17:52 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/18 "2018-12-25T17:52:50Z")

</div>

My _guess_ is that old versions of Safari are buggy here? ‘Yeah sure I can do that!’ But they can’t.

---

<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:** [2018年十二月25日 18:10 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/19 "2018-12-25T18:10:35Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/3X/0/8/08c558ac90304d2b19878923ecfa53cb03a219db.png)

FYI, console is full of errors on iOS 8, which appears full of stuff that should not be there, we should not have `require` anywhere in our code, that is no good…

Possible something somewhere is leaning on some super recent feature in JS. Anyway I have a repro with browser stack and will debug this once I am on a fast enough network.

---

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [2018年十二月25日 20:48 UTC](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923/20 "2018-12-25T20:48:08Z")

</div>

My bad, I thought the polyfill was only included for IE. This seems to be something different.

[下一頁](https://meta.discourse.org/t/meta-seems-partially-broken-on-old-versions-of-ios/104923.md?page=2)
