🐛 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
- OS & Device: Windows on PC
- Browser Microsoft Edge
- Version 98.0.1108.62 (Official build) (64-bit), Window 11
🐛 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