Intersection Observer Polyfill Not Working Safari
I need to detect if my iframe which is loaded from another domain is in viewport. This works fine native in Chromem,Firefox and IE called Intersection Observer. However this is not
Solution 1:
I saw a issue on github where it outlined safari getting the incorrect height because of quirks mode : https://github.com/w3c/IntersectionObserver/issues/282 . Maybe add
<!DOCTYPE html>
<html>
can fix it.
Post a Comment for "Intersection Observer Polyfill Not Working Safari"