We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 793d366 + 1b98c96 commit 4953779Copy full SHA for 4953779
1 file changed
src/components/Layout/ScrollCardsNavigator.tsx
@@ -34,6 +34,7 @@ export const ScrollCardsNavigator = () => {
34
}, [])
35
36
useLayoutEffect(() => {
37
+ setLeftButtonVisible(false)
38
scrollBarContainer.current = document.querySelector('.Cards')
39
40
@@ -48,7 +49,6 @@ export const ScrollCardsNavigator = () => {
48
49
}, [handleKeyboardKeys])
50
51
useEffect(() => {
- setLeftButtonVisible(false)
52
setRightButtonVisible(cards.length > maxCardsPerRow)
53
}, [cards])
54
0 commit comments