mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 18:17:31 +08:00
fix(animation): avoid partial keyframes (#19169)
* ensure custom props not part of final keyframes * fix clear * clean up
This commit is contained in:
@ -43,7 +43,7 @@ export const generateKeyframeRules = (keyframes: any[] = []) => {
|
||||
|
||||
const frameString = [];
|
||||
for (const property in keyframe) {
|
||||
if (keyframe.hasOwnProperty(property) && property !== 'offset' && property !== 'clear') {
|
||||
if (keyframe.hasOwnProperty(property) && property !== 'offset') {
|
||||
frameString.push(`${property}: ${keyframe[property]};`);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user