Position autocompletion info inside the tooltipSpace

Hi all,

I am trying to embed an Editor inside an application. For this, I want all editor UI to be contained within a container.

Using tooltipSpace, the list gets positioned correctly above the cursor if there is not enough space left in the container.

However, when a completionResult has an info string, the info container does not respect the bounds set by tooltipSpace.

It seems that to position the info node, the window bounds are used instead of tooltipsSpace.
What is the best way to achieve correct positioning here? Is this a bug or am I missing a configuration option?

Any hints are appreciated :slight_smile:

PS: I created a codesandbox with my configuration that replicates the issue:

This patch should address this.