Really digging this! One issue I found was the right tooltip is not centered. It looks like you just need to swap out the top style setter with the one like the left. maybe just top: ${baseTop + rect.y + (rect.height - this.tooltip.offsetHeight) / 2}px,