From 0bda727e8bb7d2d6a1e9a065930822e01ef5f787 Mon Sep 17 00:00:00 2001 From: Bartosz Kaszubowski Date: Mon, 1 Sep 2025 12:23:41 +0200 Subject: Web: fix Suggested Accounts tabs end of scroll detection (#8939) --- src/components/InterestTabs.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit 1.4.1