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: stabilize scroll position in CodeBlocks story to prevent flaky snapshots (#1214)
The CodeBlocks story was flaky because `useAutoScroll`'s ResizeObserver
fires when Shiki highlighting completes, causing scroll-to-bottom which
shifts elements by a few pixels.
**Fix:**
- Wait for all 3 `.code-block-wrapper` elements to have Shiki spans
(ensures highlighting is done)
- Scroll to top after highlighting and wait a frame for ResizeObserver
to settle
---
_Generated with `mux` • Model: `anthropic:claude-opus-4-5` • Thinking:
`high`_
0 commit comments