fix(ivy): fix style prop instructions to account for zero-based values (#27270)
PR Close #27270
This commit is contained in:

committed by
Igor Minar

parent
d84705121a
commit
a082f6484a
@ -1220,7 +1220,7 @@ export function elementStyleProp(
|
||||
return hackImplementationOfElementStyleProp(
|
||||
index, styleIndex, value, suffix, directive); // supported in next PR
|
||||
let valueToAdd: string|null = null;
|
||||
if (value) {
|
||||
if (value !== null) {
|
||||
if (suffix) {
|
||||
// when a suffix is applied then it will bypass
|
||||
// sanitization entirely (b/c a new string is created)
|
||||
|
Reference in New Issue
Block a user