I tried to rearrange it myself using offset().top and outerHeight() , but ran into problems. The solution for me was to simply repeat the popover show event:
$(window).off("resize").on("resize", function() { $(".popover").each(function() { var popover = $(this); if (popover.is(":visible")) { var ctrl = $(popover.context); ctrl.popover('show'); } }); });
source share