[Webkit-unassigned] [Bug 186480] New: IntersectionObserver freezes safari on localhost
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 11 00:13:25 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=186480
Bug ID: 186480
Summary: IntersectionObserver freezes safari on localhost
Product: WebKit
Version: Safari 11
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Trivial
Priority: P2
Component: Event Handling
Assignee: webkit-unassigned at lists.webkit.org
Reporter: markus at thiels.se
Started by posting the issue here https://github.com/w3c/IntersectionObserver/issues/302#issuecomment-395895715
Problem only occurs on localhost
const IntersectionObserverOptions = {
rootMargin: '0px 0px 800px 0px',
threshold: 0.0
};
this.iIntersectionObserver = new IntersectionObserver(entries => {
if (entries[0].intersectionRatio <= 0) { return; }
if (entries[0].isIntersecting) {
this.iIntersectionObserver.unobserve(entries[0].target);
this.loadMoreProducts.emit();
}
}, IntersectionObserverOptions);
removing this makes the page load properly
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180611/5b8a1678/attachment.html>
More information about the webkit-unassigned
mailing list