diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js index d5cbe493b..6e5a50ea0 100644 --- a/js/bootstrap-select.js +++ b/js/bootstrap-select.js @@ -981,7 +981,10 @@ this.fetchData(function () { that.render(true); that.buildList(); - that.$element.trigger('loaded' + EVENT_KEY); + + requestAnimationFrame(function () { + that.$element.trigger('loaded' + EVENT_KEY); + }); }); if (this.options.dropdownAlignRight === true) this.$menu[0].classList.add(classNames.MENURIGHT);