about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBartosz Kaszubowski <gosimek@gmail.com>2025-09-01 12:23:41 +0200
committerGitHub <noreply@github.com>2025-09-01 03:23:41 -0700
commit0bda727e8bb7d2d6a1e9a065930822e01ef5f787 (patch)
tree174e6617818ebb688a4f6fac97dbd66f84e2259d
parent1c78f36a5142e05eff76ec6f9ae4982c8dd4ff58 (diff)
downloadvoidsky-0bda727e8bb7d2d6a1e9a065930822e01ef5f787.tar.zst
Web: fix Suggested Accounts tabs end of scroll detection (#8939)
-rw-r--r--src/components/InterestTabs.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/InterestTabs.tsx b/src/components/InterestTabs.tsx
index b61157ed8..aec421768 100644
--- a/src/components/InterestTabs.tsx
+++ b/src/components/InterestTabs.tsx
@@ -90,7 +90,7 @@ export function InterestTabs({
   }
 
   const canScrollLeft = scrollX > 0
-  const canScrollRight = scrollX < contentWidth - totalWidth
+  const canScrollRight = Math.ceil(scrollX) < contentWidth - totalWidth
 
   const cleanupRef = useRef<(() => void) | null>(null)