w3c / IntersectionObserver

Intersection Observer
https://www.w3.org/TR/intersection-observer/
Other
3.62k stars 526 forks source link

Safari 10 read only error #473

Closed ghost closed 2 years ago

ghost commented 3 years ago

When running the polyfill on Safari 8-10 we are getting on this line: this.isIntersecting = !!entry.intersectionRect;

TypeError: Attempted to assign to readonly property.

Thanks

graemeenglish commented 2 years ago

This also causes problems on chrome 94 and edge 94 when forcing the polyfill for testing using

miketaylr commented 2 years ago

The polyfill is being removed in https://github.com/w3c/IntersectionObserver/pull/499 (see #433 for discussion).

If you can still reproduce bugs in the native implementations, filing bugs in the various bug tracks would be really helpful.

I'm going to close this as wontfix, but thanks for taking the time to report this issue!