fix(downloads): keep column controls vertically anchored

Exclude the absolute column move controls from FLIP content animations so their translateY centering remains intact throughout left and right column switches.
This commit is contained in:
Sucukdeluxe
2026-08-20 10:34:23 +02:00
parent e030daff3e
commit 71a286aa94
2 changed files with 9 additions and 2 deletions
@@ -149,6 +149,7 @@ export function commitDownloadColumnDrag(
const deltaX = first.left - last.left;
if (Math.abs(deltaX) < 0.5) continue;
for (const target of Array.from(element.children)) {
if (target.matches(".downloads-column-move-controls")) continue;
const animation = target.animate([
{ transform: `translate3d(${deltaX}px, 0, 0)` },
{ transform: "translate3d(0, 0, 0)" }