fix: [Horizontal Scroll previous button doesn't work in 2 column width screen size] in [Horizontal Scroll] #5676
Labels
area:fast-foundation
Pertains to fast-foundation
bug
A bug
status:needs-investigation
Needs additional investigation
🐛 Bug Report
💻 Repro or Code Sample
Change screen width to makes the Default scroll show only "Card number 1" and "Card number 2".
Click the ">" button to scroll left,
Click the "< " button to scroll right
Observe it is not able to scroll back to previous card 1, it stays at the current position.
🤔 Expected Behavior
Scroll back to the "card number 1" position, and display both "card #1" and "card #2"
😯 Current Behavior
It is not able to scroll back to previous card 1, it stays at the current position.
💁 Possible Solution
handle the case when nextIndex equal to current
🔦 Context
🌍 Your Environment
Microsoft Edge
The text was updated successfully, but these errors were encountered: