This PR reverts changes done in this PR to store column widths after resize. While the change works for uncontrolled EuiDataGrids, it currently does not allow for controlled usages to override saved widths anymore.
This is an issue in Kibana where column widths can be reset.
We decided to revert the change for now and address it separately, as the issue was not specific to the draggable column update but existed before.
QA
[x] test that the revert fixes the issue on Kibana (tested with a local package: both manual test and unit tests work again as expected)
Summary
This PR reverts changes done in this PR to store column widths after resize. While the change works for uncontrolled
EuiDataGrid
s, it currently does not allow for controlled usages to override saved widths anymore. This is an issue in Kibana where column widths can be reset.We decided to revert the change for now and address it separately, as the issue was not specific to the draggable column update but existed before.
QA