From 201d451615f186797dece88e313f4c5ec0a7480b Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Mon, 16 Dec 2019 17:12:12 -0500 Subject: [PATCH] Add hacky fix for left-positioned popovers not appearing correctly on first appearance --- modules/util/popover.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/util/popover.js b/modules/util/popover.js index 863c0b22c..679db193a 100644 --- a/modules/util/popover.js +++ b/modules/util/popover.js @@ -201,6 +201,9 @@ export function popover(klass) { if (_content) popoverSelection.selectAll('.popover-inner').call(_content.apply(this, arguments)); updatePosition.apply(this, arguments); + // hack: update twice to fix instances where the absolute offset is + // set before the dynamic popover size is calculated by the browser + updatePosition.apply(this, arguments); }