What
Use class instead of css var for hasNoTopPadding toggle
Why
During QA we decided to remove the padding from some of our view insets. This uncovered a bug in how our hasNoTopPadding prop worked.
Since this prop toggled a css variable, if two components were rendered at once and set this flag opposite of each other, you can experience clashes due to the nature of css cascading.
What Use class instead of css var for hasNoTopPadding toggle
Why During QA we decided to remove the padding from some of our view insets. This uncovered a bug in how our
hasNoTopPadding
prop worked. Since this prop toggled a css variable, if two components were rendered at once and set this flag opposite of each other, you can experience clashes due to the nature of css cascading.