BlockNote
BlockNote copied to clipboard
Suggestion menu, when opening on top, isn't positioned correctly
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.