Skip to content

Conversation

@CodeWithBehnam
Copy link
Owner

Summary

  • Nodes with showImagePreview (like Split Grid) were still rendering the image preview area when collapsed/minimised
  • Progress indicator nodes also had the same issue
  • Added this.flags?.collapsed check to both onDrawForeground handlers in BaseNode.ts

Test plan

  • Add a Split Grid node to the canvas
  • Collapse/minimise the node by clicking the collapse button
  • Verify the "No image" preview area is now hidden
  • Test with other image preview nodes (Load Image, Image Display)
  • Test progress indicator nodes when collapsed during execution

Behnam Ebrahimi

Nodes with showImagePreview (like Split Grid) or showProgressIndicator
were still rendering their custom foreground content when minimised.
Added collapsed state check to onDrawForeground handlers.

Co-Authored-By: Behnam & Claude Code
@CodeWithBehnam CodeWithBehnam merged commit 519b65f into main Dec 25, 2025
2 checks passed
@CodeWithBehnam CodeWithBehnam deleted the fix/collapsed-node-preview branch December 25, 2025 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants