Skip to content

"Open Recent Project" modal closes automatically on first open #41278

@devas-37

Description

@devas-37

Summary

"Open Recent Project" modal closes automatically on first open

Description

When opening the “Open Recent Project” modal in Zed for the first time, it automatically closes as soon as I scroll the mouse wheel.
On the second attempt, the modal behaves normally and does not close unexpectedly.
It seems to be caused by a wheel event being triggered right after the modal opens.

System: macOS Tahoe

Steps to reproduce:

  1. Launch Zed.

  2. Open the “Open Recent Project” modal (cmd-option-o or via menu).

  3. Scroll the mouse wheel immediately after the modal appears.

  4. The modal closes automatically.

  5. Open it again — it now behaves normally.

Expected Behavior:
The “Open Recent Project” modal should remain open regardless of wheel/scroll events.

Actual Behavior:
The modal closes automatically on the first open when a wheel event occurs.

Zed Version and System Specs

MacOS Tahoe

Metadata

Metadata

Assignees

No one assigned

    Labels

    .contrib/good second issueIssue suitable for a repeat contributorarea:workspaceFeedback for workspace management, layout, interactions, etcstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduce

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions