Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(animations): refactor non-animatable check to be timeline ba…
…sed (#46666) move the check for non-animatable properties from the animation building phase to the application of the animation's transition instead, in such a way we can check it against the keyframes of the transition's timeline in order to only provide warnings for properties which are being animated, thus not providing any warning for non-animatable properties being applied to elements via the style function this change has the benfit just mentioned above but it comes with two drawbacks: - the warning handling is not done in the building time so it is a bit inconsistent with other type of validations (such as the unsupported css properties one for example) - before the warning was being applied only when the animation's data was being parsed, so it happed only once but now since it is applied when the animation is actually being prepared to be played, it happens each time the animation runs resolves #46602 PR Close #46666
- Loading branch information
1 parent
93d17ee
commit a4ec109
Showing
5 changed files
with
146 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters