Skip to content

Add FluidHeight wrapper to meals grid for smooth transitions - #49

Merged
injoon5 merged 1 commit into
mainfrom
claude/meals-card-row-animation-mp178j
Aug 21, 2026
Merged

injoon5 merged 1 commit into
mainfrom
claude/meals-card-row-animation-mp178j

Conversation

@injoon5

@injoon5 injoon5 commented Aug 21, 2026

Copy link
Copy Markdown
Owner

Summary

Wraps the meals grid in a FluidHeight component to provide smooth height animations when switching between meal types.

Changes

  • Import FluidHeight component from $lib/components/ui/FluidHeight.svelte
  • Wrap the meals grid (div.grid) with <FluidHeight key={selectedMealType}> to animate height changes when the selected meal type changes
  • The key binding ensures the animation triggers whenever selectedMealType updates

Implementation Details

The FluidHeight component is keyed to selectedMealType, so whenever the user switches between breakfast, lunch, dinner, etc., the grid will smoothly animate to its new height rather than jumping abruptly. This improves the visual polish of the meals page UI.

https://claude.ai/code/session_01KXmQj3WSxmaj9TctDVYAb3

Wrap each week's card grid in FluidHeight, keyed on selectedMealType,
so the row tweens to its new height instead of snapping when
switching between 중식/석식 changes how many dishes each day shows.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KXmQj3WSxmaj9TctDVYAb3
@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
class-info Error Error Aug 21, 2026 7:16am

@injoon5
injoon5 merged commit 6f31647 into main Aug 21, 2026
2 of 3 checks passed

This branch had an error being deployed

1 failed deployment
Preview — ab3b92f2 Deployed Aug 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants