Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
authorShohei Yoshida <ysds.code@gmail.com>2019-07-23 17:21:23 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-07-31 11:37:39 +0300
commit470adc3f169b0bbaa0edc2553249a2604270af0d (patch)
tree0278f41cfcf5795b8c8433389d2913ba9314799f /js/src
parente01103e3f9c59206c436da124f16aba4832c9136 (diff)
Force reflow for fade-in animation (#29113)
Diffstat (limited to 'js/src')
-rw-r--r--js/src/toast.js1
1 files changed, 1 insertions, 0 deletions
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)