perf(ivy): apply static styles/classes directly to an element's style/className properties (#33364)
PR Close #33364
This commit is contained in:

committed by
Andrew Kushnir

parent
335854f6bc
commit
5607ad8c62
@ -441,9 +441,7 @@ function normalizeStylingDirectiveInputValue(
|
||||
if (isClassBased) {
|
||||
value = concatString(initialValue, forceClassesAsString(bindingValue));
|
||||
} else {
|
||||
value = concatString(
|
||||
initialValue,
|
||||
forceStylesAsString(bindingValue as{[key: string]: any} | null | undefined, true), ';');
|
||||
value = concatString(initialValue, forceStylesAsString(bindingValue, true), ';');
|
||||
}
|
||||
}
|
||||
return value;
|
||||
|
Reference in New Issue
Block a user