Fix video resize handle drifting off-screen

The resize observer was persisting any rendered size change, including
incidental reflow from the page's own responsive max-width clamping on
window/viewport resize - not just deliberate corner-handle drags. This
let the stored size drift into a badly non-16:9 box over repeated views
on different window sizes, pushing the actual resize grip far below the
fold. Now only persists while the user has mousedown on the video, and
caps rendered height at 80vh as a backstop against already-drifted values.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-24 19:00:40 -04:00
co-authored by Claude Sonnet 5
parent ecabc828ea
commit 1fbf0c9312
2 changed files with 15 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
2026-08-24 21:41 UTC — cache category tree walk (fixes ~1s picker lag)
2026-08-24 23:00 UTC — fix video resize handle drifting off-screen