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
Table Row was not accepting style props on grid styles specifically. This was an issue as style props from grid styles would be applied directly to the HTML element and not to the css for the component.
To Reproduce
Add grid specific style props (i.e. gridTemplateColumns, gridGap, gridTemplateAreas, etc.) to <Table.Row/>. This will not overwrite existing stencil styles and will instead be applied to the HTML element itself.
Expected Behavior
Style props for grid styles should overwrite the stencil styles.
Actual Results
Styles props do not overwrite existing stencil styles and will instead be applied to the HTML element itself.
The text was updated successfully, but these errors were encountered:
Fixes: #2758
`mergeStyles` utility now merges grid styles that were used as styleprops and overwrites existing styles as intended.
[category:Components]
🐛 Bug Report
Table Row was not accepting style props on grid styles specifically. This was an issue as style props from grid styles would be applied directly to the HTML element and not to the css for the component.
To Reproduce
Add grid specific style props (i.e.
gridTemplateColumns
,gridGap
,gridTemplateAreas
, etc.) to<Table.Row/>
. This will not overwrite existing stencil styles and will instead be applied to the HTML element itself.Expected Behavior
Style props for grid styles should overwrite the stencil styles.
Actual Results
Styles props do not overwrite existing stencil styles and will instead be applied to the HTML element itself.
The text was updated successfully, but these errors were encountered: