mirror of
https://github.com/Comfy-Org/jpcosta-comfy-apps.git
synced 2026-11-05 06:47:20 +00:00
[PR #12] [MERGED] Fade outgoing carousel cards instead of clipping them #11
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/jpcosta-comfy-apps#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/jpcosta-comfy-apps/pull/12
Author: @jpcosta-comfy
Created: 10/1/2026
Status: ✅ Merged
Merged: 10/1/2026
Merged by: @cursor[bot]
Base:
main← Head:cursor/slide-fade-8ac0📝 Commits (1)
480bfb9Fade cards as they leave instead of clipping them.📊 Changes
4 files changed (+137 additions, -9 deletions)
View changed files
📝
scripts/self-check.ts(+6 -1)📝
src/app/globals.css(+12 -5)📝
src/components/studio.tsx(+105 -3)📝
src/lib/ease-slide.ts(+14 -0)📄 Description
The slide ease was right, but the track’s overflow clipped each card into a hard rectangle as it left. Cards now leave the page column whole. If a card cannot clear the browser edge, it fades out, and the edge itself is a soft gradient rather than a cut.
Kept
ease.slidecurve. Next comes from the right, previous from the left.Mid-slide
Desktop, outgoing card faded, incoming card solid, no rectangular slice:
Desktop mid-slide with a soft fade
Mobile:
Mobile mid-slide with a soft fade
Desktop at rest, one full-width card:
Desktop at rest
To show artifacts inline, enable in settings.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.