Skip to content

Commit c067bcb

Browse files
authored
Merge pull request #1288 from sveltejs/ff-transition-bug
remove transition styles in Firefox
2 parents 565bc52 + be678c6 commit c067bcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/transitions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export var transitionManager = {
199199
node.style.animation = node.style.animation
200200
.split(', ')
201201
.filter(function(anim) {
202-
return anim.slice(0, name.length) !== name;
202+
return !/__svelte/.test(anim);
203203
})
204204
.join(', ');
205205
}

0 commit comments

Comments
 (0)