You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a component was using the style attribute, handleCSProp was returning a className instead of merging in those styles. Also, handleCSprop was not merging the style object passed to a component and instead, returning an empty object.
The text was updated successfully, but these errors were encountered:
Fixes: #2452
The `style` attribute was being converted into a class name. The styles were being added and passing visual tests, but doing so in an unoptimized way. We use the `style` attribute for styles that change frequently to avoid expensive Style recalculations and we accidentally broke that.
[category:Components]
🐛 Bug Report
When a component was using the
style
attribute,handleCSProp
was returning aclassName
instead of merging in those styles. Also,handleCSprop
was not merging thestyle
object passed to a component and instead, returning an empty object.The text was updated successfully, but these errors were encountered: