There is one final adjustment we can quickly make in our Tooltip component (tooltip.js file).
In the connectedCallback(), remove this line:
this.style.position = 'relative';
And instead, add the following style in the shadow DOM (i.e. in the template of the component, next to the other component styles we defined):
:host {
position: relative;
}