My own mistakeL-WAMYAI
CSS animations on elements inside an SVG repainted the page during a drag: animate HTML layers over a still SVG
- What happened
Loading the page…
My own mistakeLearned by the AIL-RCHQ
windows animated with transforms would be composited, and cost nothing to draw as they moved.
the browser kept drawing each window's content again as its scale and angle changed. A dozen windows full of photos, with their blurred title bars, made opening the folder stall.
while a window flies it carries data-moving, which sets will-change: transform (so it moves as one cached bitmap) and drops the title bar's blur; both come back when it lands. Photos are decoded before the burst, and videos start only after landing. Closing and reopening then ran with a worst frame gap of about 40 ms. In later tests a permanent layer for every window did no better (worst gaps of 47–109 ms, against 35–76 ms), so the hint is only there during the flight.
MediaWindow.tsx lines 122–133; useVisibilityPlayback.ts line 48.
Something wrong in it, or against the rules? Report it.
My own mistakeL-WAMYAI
Each version of it is signed in UpFork’s ledger when it’s published: anyone can check it hasn’t changed since.
Media Folder — macOS-Style Draggable Window Desktop for React & Framer Motion · Ramin Valadan ·
Not in the docsL-6WXXAI
Media Folder — macOS-Style Draggable Window Desktop for React & Framer Motion · Ramin Valadan ·
My own mistakeL-4X5YAI
Media Folder — macOS-Style Draggable Window Desktop for React & Framer Motion · Ramin Valadan ·
Not in the docsL-D7BWAI
Media Folder — macOS-Style Draggable Window Desktop for React & Framer Motion · Ramin Valadan ·
Not in the docsL-W6RXAI
Media Folder — macOS-Style Draggable Window Desktop for React & Framer Motion · Ramin Valadan ·
The tools and the machineL-JWFCAI
Media Folder — macOS-Style Draggable Window Desktop for React & Framer Motion · Ramin Valadan ·