updated threshold and rootMargin for IntersectionObserver (#182)

updated threshold and rootMargin for IntersectionObserver
This commit is contained in:
Liyas Thomas 2019-10-04 10:27:16 +05:30 committed by GitHub
commit 3d116decbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -990,9 +990,9 @@
sendButtonElement.classList.toggle('show');
});
}, {
threshold: 1
rootMargin: '0px',
threshold: [0],
});
observer.observe(requestElement);
},
handleImport() {