diff --git a/src/shared/transitions.js b/src/shared/transitions.js
index <HASH>..<HASH> 100644
--- a/src/shared/transitions.js
+++ b/src/shared/transitions.js
@@ -199,7 +199,7 @@ export var transitionManager = {
 		node.style.animation = node.style.animation
 			.split(', ')
 			.filter(function(anim) {
-				return !/__svelte/.test(anim);
+				return anim.indexOf(name) === -1;
 			})
 			.join(', ');
 	}
only delete applicable transition animations - fixes #<I>