[fix] tracking whether transition has started (#6399)

pull/7738/head
Almog Tavor 5 years ago committed by GitHub
parent ba1e1a661d
commit 135e9931c3

@ -143,7 +143,8 @@ export function create_in_transition(node: Element & ElementCSSInlineStyle, fn:
return { return {
start() { start() {
if (started) return; if (started) return;
started = true;
delete_rule(node); delete_rule(node);
if (is_function(config)) { if (is_function(config)) {

Loading…
Cancel
Save