-
Notifications
You must be signed in to change notification settings - Fork 1
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
Use observer instead of scroll events #20
Comments
cf https://tech.mozfr.org/post/2017/08/21/IntersectionObserver-arrive-dans-Firefox |
Use observer instead of scroll events #20
Reverted 59a0cd6 , because observers on webcomponents seems not correctly checked in Firefox Snippet for checking : function check(elements) {
console.log(elements[0].intersectionRatio, elements[0].isIntersecting, elements[0])
}
new IntersectionObserver(check).observe(document.getElementById('menu'));
new IntersectionObserver(check).observe(document.querySelector('cpu-audio')); |
Reported to Mozilla https://bugzilla.mozilla.org/show_bug.cgi?id=1581876 |
Bug related to cpu-audio webcomponent : container not declared as |
Use observer instead of scroll events #20
Use observer instead of scroll events #20
Use observer instead of scroll events #20
Also prepare correction for cpuprogramme/cpu-15#20
cf https://hacks.mozilla.org/2017/08/intersection-observer-comes-to-firefox/
The text was updated successfully, but these errors were encountered: