From d4f19ac62f203314fb3e2d4b3afea3d87bbbfe63 Mon Sep 17 00:00:00 2001
From: Adam Mathes <adam@adammathes.com>
Date: Sun, 15 Feb 2026 08:35:49 -0800
Subject: Improve infinite scroll responsiveness on mobile/iPad

---
 frontend/src/components/FeedItems.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'frontend/src/components/FeedItems.tsx')

diff --git a/frontend/src/components/FeedItems.tsx b/frontend/src/components/FeedItems.tsx
index 8c69905..0f302d3 100644
--- a/frontend/src/components/FeedItems.tsx
+++ b/frontend/src/components/FeedItems.tsx
@@ -192,7 +192,7 @@ export default function FeedItems() {
       { root: null, threshold: 0 }
     );
 
-    // Observer for infinite scroll (less aggressive, must be fully visible)
+    // Observer for infinite scroll (less aggressive, triggers earlier)
     const sentinelObserver = new IntersectionObserver(
       (entries) => {
         entries.forEach((entry) => {
@@ -201,7 +201,7 @@ export default function FeedItems() {
           }
         });
       },
-      { root: null, threshold: 1.0 }
+      { root: null, threshold: 0.1, rootMargin: '100px' }
     );
 
     items.forEach((_, index) => {
-- 
cgit v1.2.3

