Comfy-Org / Comfy-Org/ComfyUI_frontend

Preview controls float above all canvas elements, obscuring other nodes

Open
#7,687 3 comments 0 reactions 1 assignee Claimed by @christian-byrne View on GitHub
area:previews area:ui
Dominant language
TypeScript
Stars
2k
Forks
702
Avg merge
1d 8h
Merged PRs (30d)
512

Description

## Problem Description

Image preview controls (and potentially other preview controls) have a z-index that causes them to float above all other elements on the canvas. This makes it possible for entire nodes to be lost/hidden beneath the layers of a preview node, significantly impacting usability.

## Visual Evidence

The issue is demonstrated in the screenshots below where nodes are completely obscured by preview layers:

![Screenshot showing nodes hidden beneath preview layers](https://github.com/user-attachments/assets/9ea2daad-2010-4d6a-82c6-5c175cc686c8)

## Additional Context

- This issue was identified by @without-ordinary in #7667
- The issue persists even after PR #7627 is applied (tested on commit 17be3b97)
- Screenshot after PR #7627: https://github.com/user-attachments/assets/8ddbacba-3c17-4a60-a5a1-764000c8181a

## References

- Original discussion: #7667
- Reported by: @without-ordinary
- Requested by: @christian-byrne

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-7687-Preview-controls-float-above-all-canvas-elements-obscuring-other-nodes-2cf6d73d365081238df2f7407478b2ec) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.