Skip to content
0:00 / 0:00

#intersectionobserver#safari#ios

How to enable or disable intersection observer in safari on iPhone 6

Rima Voice Trends

6.8K subscribers • 1 video on Hallway

YouTube
  • Recommended by 1 person: 1 on Stack Overflow and its sister sites.
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Beginner. No background in the topic needed.

1.1K views6 years ago1 recommendation

Web developmentMobile developmentHTTP, REST and GraphQLHow browsers workiOS and SwiftUI

How to enable or disable the Intersection Observer API in Safari's experimental features on older iOS devices.

On this video you can know How to enable or disable intersection observer in safari on iPhone 6 with iOS 12.3.1 (16D39) operating system

Why it's here

1 person recommends this

What people say. Recommended to resolve the reference error where IntersectionObserver is missing on older iPhones where the feature is disabled by default.

Moments people linked to

rupi3000on Stack Overflow • Recommends

On “Reference error: Can't find variable: IntersectionObserver”

We ran into this issue and there is one important thing to call out. While this has been fixed in newer Safari Browsers, this issue still can occur on older devices (despite fully updated Safari). This is due to the fact that the IntersectionObserver feature seems to be deactivated as 'Experimental feature' on older iPhones (I know for fact that this is the case for iPhone 8) - possibly to save resources - see link to this video. So to ensure your application to work you might need to use polyfill as an alternative/fallback nevertheless.
10View the answer