Skip to content

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

@cgross

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions