Skip to content

ui: add smooth fade-in animations when switching activity tabs #25

@MenachoIvan

Description

@MenachoIvan

Description

The tab switching logic in our dashboard works flawlessly, but the content switches instantly, which can feel a bit abrupt. We want to add a subtle and smooth fade-in animation to the activities grid every time the activeTab state changes.

Expected Behavior

When a user clicks on a different sport tab, the list of the 5 recent sessions should fade in smoothly using Tailwind CSS transitions or keyframe animations (e.g., animate-fade-in or custom Tailwind configuration).

Tasks

  • Add a clean CSS transition/animation class to the wrapper div of the activity cards grid in src/components/dashboard/TabbedSessions.tsx.
  • Ensure the animation triggers correctly on state change without breaking layout shifting.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions