[backport core/1.41] fix: prevent live preview dimension flicker between frames (#9955)

Backport of #9937 to `core/1.41`

Automatically created by backport workflow.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-9955-backport-core-1-41-fix-prevent-live-preview-dimension-flicker-between-frames-3246d73d36508160bf30c95a019c82dc)
by [Unito](https://www.unito.io)

Co-authored-by: Christian Byrne <cbyrne@comfy.org>
This commit is contained in:
Comfy Org PR Bot
2026-03-15 19:01:34 +09:00
committed by GitHub
parent f2254852b2
commit fb8253fca3

View File

@@ -40,8 +40,8 @@ const imageError = ref(false)
watch(
() => props.imageUrl,
() => {
// Reset states when URL changes
actualDimensions.value = null
// Reset error state when URL changes, but keep previous dimensions
// to avoid flickering "Calculating dimensions" text during live preview
imageError.value = false
}
)