From ae924787d12ded06b8a4776f10a96c68b6d5a726 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Sun, 11 Mar 2018 13:32:43 +0100 Subject: [PATCH] Fix - Flicker on position --- src/core/popover.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/popover.js b/src/core/popover.js index ac91f53..983dbe8 100644 --- a/src/core/popover.js +++ b/src/core/popover.js @@ -112,6 +112,8 @@ export default class Popover extends Element { this.titleNode.innerHTML = this.options.title; this.descriptionNode.innerHTML = this.options.description; + this.renderButtons(); + // Position the popover around the given position switch (this.options.position) { case 'left': @@ -131,8 +133,6 @@ export default class Popover extends Element { this.autoPosition(position); break; } - - this.renderButtons(); } /** -- GitLab