You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix pinned user message flashing when overlapping next prompt
The pinned message was flashing because hiding it changed offsetHeight
to 0, which shifted the threshold calculations and caused unstable
show/hide behavior.
Fix by caching the pinned message height and using the cached value
when the element is hidden. Also simplified the threshold logic to use
a single pinnedAreaBottom value for both determining what to pin and
detecting overlap.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments