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
We are using DataTable, we recently upgraded from "@carbon/react": "1.72.0" to "1.74.0" and see an extra invisible <div> in <th> which affected our table header layouts. It's <div class="cds--table-header-label--decorator-inner">
This extra <div> pushed our header contents towards left where they used to be at end of right side.
You can see the behavior on a sorting DataTable from the storybook.
Without the extra <div>, the sorting icon is placed at the end of the right side, with this extra <div>, the sorting arrow is pushed towards center.
Package
@carbon/react
Browser
Chrome
Package version
1.74.0
React version
No response
Description
We are using DataTable, we recently upgraded from
"@carbon/react": "1.72.0"
to"1.74.0"
and see an extra invisible<div>
in<th>
which affected our table header layouts. It's<div class="cds--table-header-label--decorator-inner">
This extra
<div>
pushed our header contents towards left where they used to be at end of right side.Before:
After:
Reproduction/example
You can see the behavior on a sorting DataTable from the storybook https://react.carbondesignsystem.com/?path=/docs/components-datatable-sorting--overview
Steps to reproduce
You can see the behavior on a sorting DataTable from the storybook.
Without the extra
<div>
, the sorting icon is placed at the end of the right side, with this extra<div>
, the sorting arrow is pushed towards center.Suggested Severity
None
Application/PAL
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: