Skip to content

Suggestion menu, when opening on top, isn't positioned correctly #2155

Closed

Description

@cgross

Describe the bug
When opening any suggestions menu, if there's not enough space on the bottom and it opens on top, if the menu only has a few items, it is placed far above the cursor.

It appears the suggestions menu has a min-height of 300px. If the menu's items are few and thus the menu is shorter than 300px, the menu appears too far above. Not sure why the 300px min-height is added but it causes this issue and there's no way to override it since its added as a style attribute not through a class.

You can reproduce this issue with the / menu by simply filtering down to a small number of items.

Activity

  1. added
    needs-triageIssue has not yet been reviewed or classified by maintainers.
    on Feb 5, 2026
  2. added
    bug:P2High: Core functionality significantly impacted.
    and removed
    needs-triageIssue has not yet been reviewed or classified by maintainers.
    on Feb 23, 2026
  3. YousefED commented on Oct 13, 2026

    @YousefED
    Collaborator

    Fixed by #2232, which removed the 300px minimum height: a short menu above the cursor now stays next to it. #3190 adds a test for this (the menu stays next to the trigger while the user filters the items).

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:P2High: Core functionality significantly impacted.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions