Skip to content

Conversation

@andr8928
Copy link
Contributor

@andr8928 andr8928 commented Aug 8, 2025

Issue addressed:

#152324

Description:
Currently, when the suggest widget has enough space below, everything is fine:
monaco-test-suggest-OK

When the suggest widget is larger than the area below the current line, the current code always calculates the height and position of the widget using the space above the line (even if the space below is larger):

1

With this change, if the suggest box is larger than the space below, it will now choose the largest of "above" and "below" to use in its calculations (unless force-above is enabled):

2

@mjbvz mjbvz assigned jrieken and unassigned mjbvz Aug 8, 2025
@andr8928 andr8928 changed the title Suggest widget: When widget is too tall, ensure larger of above and below space is used. Suggest widget: Bug fix - when widget is too tall, ensure larger of above and below space is used. Aug 11, 2025
@andr8928
Copy link
Contributor Author

@mjbvz Is there additional people that can be assigned to this?
It seems @jrieken is away and hasn't been active for a couple of months. This bug is causing problems for my team and product.

Copy link
Member

@jrieken jrieken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jrieken jrieken added this to the September 2025 milestone Sep 24, 2025
@jrieken jrieken merged commit 34c7918 into microsoft:main Sep 24, 2025
17 checks passed
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Nov 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants