Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

updated threshold and rootMargin for IntersectionObserver

Edison Augusthy12317d9649ab
diff --git a/pages/index.vue b/pages/index.vue
index 60f7df3c6..508519e4f 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -990,9 +990,9 @@
sendButtonElement.classList.toggle('show');
});
}, {
- threshold: 1
+ rootMargin: '0px',
+ threshold: [0],
});
-
observer.observe(requestElement);
},
handleImport() {