Add hacky fix for left-positioned popovers not appearing correctly on first appearance

This commit is contained in:
Quincy Morgan
2019-12-16 17:12:12 -05:00
parent 0e3c0ca4ad
commit 201d451615
+3
View File
@@ -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);
}