I would like to know if there's solution to my next problem.
First I create floating panel which is not attached to none element and then I add event listener on a button which shows created panel with function call "showBy(button)". My problem is that the panel is on the beginning shown in the top left corner and then is moved near button. Can I just show panel near button?
I thought of adding panel to dom with !important display: none, but that is dirty solution.