-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Currently, the cards in the section are displayed in a single horizontal line with navigation arrows for scrolling. This requires the user to manually click on arrows to view the next set of cards. I want to improve the user experience by adding a smooth auto-scrolling effect : The cards should continuously scroll horizontally from left to right. If the user hovers the mouse over a card, the scrolling should pause, allowing them to read the content. Once the cursor is moved away from the card, the scrolling should resume automatically. The scrolling should be smooth and seamless to provide a professional, engaging look.
Expected Behavior :-
Cards move automatically in a left-to-right horizontal scrolling motion.
On hover over a specific card, the scrolling animation stops temporarily.
On mouse leave, the animation resumes from where it paused.
Steps to Reproduce (Current Behavior) :-
Go to the section where cards are displayed.
Notice that cards can only be moved using the arrow button.
There is no auto-scrolling or hover-to-pause effect.
Possible Fix / Implementation Suggestions :-
Use CSS animations or Framer Motion for smooth horizontal scrolling.
Add an event listener for onMouseEnter to pause the animation.
Add an event listener for onMouseLeave to resume the animation.