Skip to content

Commit be678c6

Browse files
committed
remove transition styles in Firefox
1 parent b506e5a commit be678c6

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)