From: Shohei Yoshida Date: Tue, 23 Jul 2019 14:21:23 +0000 (+0900) Subject: Force reflow for fade-in animation (#29113) X-Git-Tag: v4.4.0~103 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=470adc3f169b0bbaa0edc2553249a2604270af0d;p=thirdparty%2Fbootstrap.git Force reflow for fade-in animation (#29113) --- diff --git a/js/src/toast.js b/js/src/toast.js index fd023e7021..ff375846aa 100644 --- a/js/src/toast.js +++ b/js/src/toast.js @@ -107,6 +107,7 @@ class Toast { } this._element.classList.remove(ClassName.HIDE) + Util.reflow(this._element) this._element.classList.add(ClassName.SHOWING) if (this._config.animation) { const transitionDuration = Util.getTransitionDurationFromElement(this._element)