We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c78f36 commit 0bda727Copy full SHA for 0bda727
src/components/InterestTabs.tsx
@@ -90,7 +90,7 @@ export function InterestTabs({
90
}
91
92
const canScrollLeft = scrollX > 0
93
- const canScrollRight = scrollX < contentWidth - totalWidth
+ const canScrollRight = Math.ceil(scrollX) < contentWidth - totalWidth
94
95
const cleanupRef = useRef<(() => void) | null>(null)
96
0 commit comments