Skip to content

Stop Feed card bodies flickering between folded and open - #414

Merged
promptclickrun merged 1 commit into
mainfrom
fix/feed-more-flicker
Nov 30, 2026
Merged

promptclickrun merged 1 commit into
mainfrom
fix/feed-more-flicker

Conversation

@promptclickrun

Copy link
Copy Markdown
Owner

Long Feed items (e.g. Top 3 AI stories) loop between the 4-line fold with More and the full body, forever. Body measured content inside the clipped container: clipped -> measures short -> unclips -> measures tall -> clips. Fix latches the tallest measured height per text so the fold decision is stable. Typecheck clean.

Body measured its Markdown inside the clipped box, so folding made it
measure short, which unfolded it, which measured tall again: an endless
layout loop. Keep the tallest height seen for the same text.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@promptclickrun
promptclickrun merged commit 5bb1ae9 into main Nov 30, 2026
8 checks passed
@promptclickrun
promptclickrun deleted the fix/feed-more-flicker branch November 30, 2026 02:15
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.

1 participant