(Re)focus on tooltip close

I'm using the Tooltip component on a TextBox.

When the textbox gets focused the tooltip should be opened and on blur, it should be closed.

After I click outside the textbox, the tooltip indeed closes but the textbox still has its focus.

For debugging purposes, I added ref to another input and I did the following:

 _tooltipService.Close();
await testRef.FocusAsync();

This now causes focus on testRef for just a moment, and thereafter the textbox regains focus.

By adding an unreliable time offset, it works just fine:

_tooltipService.Close();
await Task.Delay(100);
await testRef.FocusAsync();

I think this is not intended and must be an issue.

I was able to replicate the problem - it will be fixed in our next update before the end of the week.

It's great to hear that!

I appreciate your contribution.