[FIX] qweb: no more duplicated nodes during transitions

If a node was re-added while being removed (i.e. during the remove
transition), the node was duplicated in the DOM for the delay of
the remove transition. This rev. removes the old occurence directly
in that case.

Fixes #121
This commit is contained in:
Aaron Bohy
2019-06-11 14:48:37 +02:00
committed by Géry Debongnie
parent 1c0d4b5832
commit 3ebe985c3c
4 changed files with 163 additions and 24 deletions
+2 -2
View File
@@ -187,7 +187,7 @@ const ANIMATION_CSS = `button {
.flash {
background-position: center;
transition: background 0.5s;
transition: background .6s;
}
.flash:active {
@@ -208,7 +208,7 @@ const ANIMATION_CSS = `button {
}
.fade-enter-active, .fade-leave-active {
transition: opacity .5s;
transition: opacity .6s;
}
.fade-enter, .fade-leave-to {
opacity: 0;