Merge pull request #1288 from sveltejs/ff-transition-bug

remove transition styles in Firefox
pull/1293/head
Conduitry 7 years ago committed by GitHub
commit c067bcb112
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -199,7 +199,7 @@ export var transitionManager = {
node.style.animation = node.style.animation node.style.animation = node.style.animation
.split(', ') .split(', ')
.filter(function(anim) { .filter(function(anim) {
return anim.slice(0, name.length) !== name; return !/__svelte/.test(anim);
}) })
.join(', '); .join(', ');
} }

Loading…
Cancel
Save