Skip to content

Conversation

@andyra
Copy link
Contributor

@andyra andyra commented Dec 29, 2025

We're now lazy-loading cards, which means the #updateCounter method initially has 0 items to work with, and the --card-count variable will briefly be 0 before switching to the correct value once the cards load. That causes the CSS transition to fire on every Turbo navigation event.

We already have the correct value for --card-count set on the server, so the CSS will work like we want it to as long as the JS controller doesn't try to recalculate before the cards are loaded.

Edit: also see #2272

@andyra andyra requested a review from jorgemanrubia December 29, 2025 21:05
@andyra andyra merged commit 19ec607 into main Dec 29, 2025
12 checks passed
@andyra andyra deleted the limit-column-transitions branch December 29, 2025 21:13
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