Skip to content

[Bug]: Notification close button is blocked while a modal is open #32064

Closed

Description

@degisftw

What happened

A persistent notification can be visible above an open modal but its close button cannot be clicked. I encountered this with “Local develop is behind origin/develop” while looking at a task. Closing the task first makes the notification dismissible, but interrupts the current work.

This is application-wide, not a ClickUp-specific issue. The ClickUp PR author requested a standalone fix in this comment.

Reproduction

  1. Have a persistent branch-behind notification visible.
  2. Open a modal sheet or dialog, such as task details, and enter an unsaved edit.
  3. Click the notification's close (×) button.

Actual: the notification stays on screen. Its close button inherits pointer-events: none from the modal's body pointer lock, despite the notification being drawn above the modal.

Expected: the close button dismisses only the notification. The modal remains open, with its unsaved input and focus preserved. Notification actions that change settings should not bypass the modal interaction lock.

Verification and visual evidence

Reproduced on macOS against upstream main at de2700d0fb. The screenshots use the production Sheet, Toaster, branch-warning renderer, and stylesheet in a hidden Electron fixture with synthetic data; they contain no account data. Both show the result after clicking the notification close control.

Before: notification remains After the proposed fix: notification dismissed, draft retained
Baseline notification remains after a close click Fixed notification dismissed while the unsaved draft and focus remain

The proposed fix also passes the existing paired-runtime error-notification end-to-end tests in light and dark mode. Windows and Linux have not been exercised locally.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions