diff options
author | Shohei Yoshida <ysds.code@gmail.com> | 2019-07-23 17:21:23 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-07-31 11:37:39 +0300 |
commit | 470adc3f169b0bbaa0edc2553249a2604270af0d (patch) | |
tree | 0278f41cfcf5795b8c8433389d2913ba9314799f /js/src | |
parent | e01103e3f9c59206c436da124f16aba4832c9136 (diff) |
Force reflow for fade-in animation (#29113)
Diffstat (limited to 'js/src')
-rw-r--r-- | js/src/toast.js | 1 |
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) |