mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Two regressions surfaced by the 1.1 default text scale: - Closing the profile avatar editor stranded the settings panel ~69px below where the user left it: the tall editor invites scroll (browser focus-scroll to the Done button), and on collapse the scroller clamps to the shorter closed layout. ProfileSettingsCard now snapshots the settings scroller position when the editor opens and re-applies it on close, so the pre-edit view is restored exactly. The original <8px scroll-restore assertion in profile.spec.ts is reinstated unchanged. - The custom-section dnd reorder smoke failed at 1.1 because the sidebar overflows the test viewport and Playwright's click auto-scroll leaves the section headers above the scroller clip; raw mouse coords then hit the workspace rail and the drag never activates. dragOver now scrolls both handles into view before reading bounding boxes — the reorder still has to activate, drop, and commit for the test to pass. Co-authored-by: Taylor Ho <taylorkmho@gmail.com> Signed-off-by: Taylor Ho <taylorkmho@gmail.com>