cloudinary / frontend-frameworks

Cloudinary javascript frontend frameworks SDKs, including Shared HTML layer, Angular, React and Vue SDKs
https://www.cloudinary.com
MIT License
42 stars 16 forks source link

fix: ensure unobserve is a function #226

Closed lbendavid-cloudinary closed 5 months ago

lbendavid-cloudinary commented 5 months ago

Pull request for cloudinary/frontend-frameworks

For which package is this PR?

html

What does this PR solve?

fix an issue where intersectionObserver is not existed (for example in tests) the unObserve is not a function

Final checklist

lbendavid-cloudinary commented 5 months ago

@pawelphilipczyk-cloudinary I dropped the commits which are un-related to the lazyload fix