Trigger recalculation of autocompletion tooltip position

Hey there,
I am asynchronously appending a dom node to the autocompletion tooltip which changes the size of the autocompletion tooltip making it seem off position (especially when it is placed on top of the text it should complete). Is there a way to trigger a recalculation of the position of the autocompletion tooltip after appending the dom node?

Edit: I suppose I could use getTooltip to get the TooltipView on which I could then increase the offset. But for that I need to get the autocompletion Tooltip. Is that possible?

This patch adds a resize observer to make the tooltips recompute their position when their size changes. I think that should solve your issue here.

1 Like

Thanks, this did the trick! Also greatly appreciate the super quick turnaround time :slight_smile: