As can be seen here the popover is misplaced (down and to the left) on first opening:
On the next and all following openings, it’s placed correctly:
On the first opening, it actually open even further away, down and to the left, but then quickly (in a split second) moves towards the bell icon, only it doesn’t go all the way, as can be seen.
Any ideas?
Br Mikael
A bit of code, nothing special:
Popover popover = new Popover();
popover.setTarget(notificationsButton);
popover.addThemeVariants(PopoverVariant.ARROW, PopoverVariant.LUMO_NO_PADDING);
popover.setPosition(PopoverPosition.BOTTOM);
popover.setAriaLabelledBy("notifications");
popover.setCloseOnEsc(false);
popover.setCloseOnOutsideClick(false);
popover.addClassName("viavea-popover-pending-tasks");
.viavea-popover-pending-tasks {
width: 500px;
height: 600px;
}

