updated threshold and rootMargin for IntersectionObserver (#182)
updated threshold and rootMargin for IntersectionObserver
This commit is contained in:
commit
3d116decbe
1 changed files with 2 additions and 2 deletions
|
|
@ -990,9 +990,9 @@
|
|||
sendButtonElement.classList.toggle('show');
|
||||
});
|
||||
}, {
|
||||
threshold: 1
|
||||
rootMargin: '0px',
|
||||
threshold: [0],
|
||||
});
|
||||
|
||||
observer.observe(requestElement);
|
||||
},
|
||||
handleImport() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue