{"version":"2.1.235","anchor":"layout-props-undefined-marginspaddings-are-no-longer-coerc","canonical_anchor":"layout-props-undefined-marginspaddings-are-no-longer-coerc","heading":"Layout props: undefined margins\/paddings are no longer coerced to zero","tier":"notice","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.235\/e\/layout-props-undefined-marginspaddings-are-no-longer-coerc","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.235","markdown":"### Layout props: undefined margins\/paddings are no longer coerced to zero\n\nUndefined margin and padding values no longer get silently coerced to zero in layout\n\nThe yoga style appliers no longer force undefined or zero-ish margin\/padding values to `0` with `?? 0` or `|| 0`; the raw value is now passed through. An explicitly-undefined margin now unsets the property instead of pinning it to zero, which can shift spacing in components that pass conditional margin or padding values.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5"}