Fix race when creating loader node to handle pasted media (#2799)

This commit is contained in:
bymyself
2025-03-02 08:49:09 -07:00
committed by GitHub
parent b1713b4c80
commit 0aef39ceee
2 changed files with 8 additions and 3 deletions

View File

@@ -106,7 +106,7 @@ export const useImageUploadWidget = () => {
// No change callbacks seem to be fired on initial setting of the value
requestAnimationFrame(() => {
nodeOutputStore.setNodeOutputs(node, fileComboWidget.value)
showPreview()
showPreview({ block: false })
})
return { widget: uploadWidget }