Position observer

Performance assess.

Try to scroll or resize the container below, or scroll or resize the browser window, or zoom in and out the page.
As fast as you can 😉.

One position observer per element.

There are 100 observed elements in the container above for which 400 IntersectionObserver instances were created.
This is an absolutely positioned tooltip, it has to stick to the observed element.