I feel foolish like I'm missing something essential.

<span class="myReference">Hello</span>
var reference = document.querySelector('.myReference');
new Popper(reference, {content: 'World'}, {placement: 'right'})
Is there a recommended baseline css to use with this for placement? I threw in the popper.css from the popper.js.org site and it's closer.
It looks like minimally, if you don't have the following, you'll see this behavior:
.popper {
position: absolute;
}
Perhaps this is just something to throw in the readme if I'm not wrong?
Seems like a problem with the first update, if you then scroll or resize the window, it works properly.
Still no solution about this issue ?
I need a free weekend to work on it, still had no time :/
A PR is welcome tho
Fixed the problem.
The position of the popper element wasn't set before the computations performed by the first .update(). Now I set the position before everything else, so we are sure the update works properly.
Most helpful comment
Seems like a problem with the first update, if you then scroll or resize the window, it works properly.