Skip to content

Commit 0bda727

Browse files
authored
Web: fix Suggested Accounts tabs end of scroll detection (#8939)
1 parent 1c78f36 commit 0bda727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/InterestTabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export function InterestTabs({
9090
}
9191

9292
const canScrollLeft = scrollX > 0
93-
const canScrollRight = scrollX < contentWidth - totalWidth
93+
const canScrollRight = Math.ceil(scrollX) < contentWidth - totalWidth
9494

9595
const cleanupRef = useRef<(() => void) | null>(null)
9696

0 commit comments

Comments
 (0)