Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions addon/-private/sprite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,8 @@ export default class Sprite {
bottom: style.bottom,
right: style.right,
transform: style.transform,
classList: Array.from(this.element.classList),
classList: Array.from(this.element.classList)
.filter(c => !c.includes('ember-animated-')),
};
}
}
Expand Down Expand Up @@ -735,7 +736,7 @@ export default class Sprite {
warn(
`Probable bug in ember-animated: an interrupted sprite tried to unlock itself.
This is usually caused by a direct child of an animated component also being an
animated component. To fix it, wrap the child in another DOM element.
animated component. To fix it, wrap the child in another DOM element.
https://github.com/ember-animation/ember-animated/issues/178`,
this.stillInFlight(),
{ id: 'ember-animated-sprite-unlock' },
Expand Down