Files
t3code/apps
Cursor AgentandJulius Marminge cffc3013cd fix: use consistent border-box measurement in composer ResizeObserver
The initial height was seeded via getBoundingClientRect().height (border-box)
but the ResizeObserver callback read entry.contentRect.height (content-box).
This mismatch would cause a spurious height change detection on the first
callback if the form element ever acquired padding or border.

Use entry.borderBoxSize[0].blockSize (with contentRect fallback) to keep both
measurements in border-box space.

Co-authored-by: Julius Marminge <[email protected]>
2026-03-02 18:26:03 +00:00
..