Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrollytelling failing on Firefox #1

Open
pomber opened this issue Aug 24, 2020 · 0 comments
Open

Scrollytelling failing on Firefox #1

pomber opened this issue Aug 24, 2020 · 0 comments

Comments

@pomber
Copy link
Owner

pomber commented Aug 24, 2020

Apparently Firefox fails when you pass document as the root of the IntersectionObserver:

TypeError: 'root' member of IntersectionObserverInit does not implement interface Element.

document.documentElement doesn't work either.

Passing null works, but then it stops working inside iframes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant