Skip to content

Queued count badge placement #7903

@kaalibro

Description

@kaalibro

Prerequisites

  • I am running the latest version of ComfyUI
  • I have searched existing issues to make sure this isn't a duplicate
  • I have tested with all custom nodes disabled (see how)

What happened?

after update to 1.37.3, the "queue count number" display in unexpected position.
e031266e338bf2fa98543ba070b90bfd

Originally posted by @WingeD123 in #7805 (comment)

Root Cause:
The parent <button> lacks the relative utility class. As a result, the absolutely positioned badge aligns with the viewport or the nearest positioned ancestor instead of the button itself.

Introduced by:
https://github.com/Comfy-Org/ComfyUI_frontend/pull/7598/files#diff-45dffe390927ed2d5ba2426a139c52adae28ce15f81821c88e7991944562074cL44

Steps to Reproduce

  1. Queue multiple tasks.
  2. The task counter badge appears in the upper-right corner of the browser window instead of on the job history button.

How is this affecting you?

Visual/UI issue only

ComfyUI Frontend Version

1.37.5

Browser

Chrome/Chromium

Console Errors

Logs

Additional Context

No response

┆Issue is synchronized with this Notion page by Unito

Metadata

Metadata

Assignees

No one assigned

    Labels

    Potential BugUntriaged bugarea:uiGeneral user interface and experience improvements

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions