mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-24 14:45:36 +00:00
- Defer lottie seek + video.play() to rAF so the parent opacity transition paints its first frame before the main thread is blocked - Track preloaded Image and Video objects via eager assignment so a new src/assetsPath load aborts in-flight downloads from the previous gen - Simplify poster: drop the inner CSS fade and let the parent's outer opacity transition handle visual smoothing - Mobile showcase: gate desktop/mobile trees by viewport (useMediaQuery) and use v-show + :playing for symmetry with desktop's all-mounted pattern, eliminating cross-viewport double playback Amp-Thread-ID: https://ampcode.com/threads/T-019e19a1-6377-77df-ad0c-4993387c9f32 Co-authored-by: Amp <amp@ampcode.com>