To correct this behavior, replace rightMargin += columns[i].width in the getMarginRight method on rightMargin += columns[i]. totalWidth; I think that the design of the react-table api has changed. I attach screenshots:
correct behaviour:
incorrect behaviour:
To correct this behavior, replace rightMargin += columns[i].width in the getMarginRight method on rightMargin += columns[i]. totalWidth; I think that the design of the react-table api has changed. I attach screenshots: correct behaviour: incorrect behaviour: