mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
The r2 reviewer proved two real exits leaked the window keydown/keyup listeners of the furniture preview — Escape (the card closes the palette by direct assignment, bypassing the runtime paths) and disconnectedCallback (only _clearFurniturePreview ran). The arrow-field listener pins the whole editor runtime and, through it, the card: the exact leak class this disconnectedCallback already names two cases above. Both sites now call _furnShiftDetach alongside the preview cleanup, the smoke gained the Escape regression (re-arm attaches again, Escape closes the palette AND brings removes level with adds), and the idempotent double detach in _furnPlace (r2 Low) is gone. Issue: #369 User-Visible: no