[GH #8726] Width calculation problem

Tags: #<Tag:0x00007efc6dfd7bc0> #<Tag:0x00007efc6dfd78c8>

Hey,
if I first move a column in a table and then resize this column, a strange width display of the columns occurs.
Folgende Einstellungen der Tablle können übernommen werden um den Fehler zu reproduzieren:
{
data: Handsontable.helper.createSpreadsheetData(5, 2),
width: ‘100%’,
height: 320,
rowHeaders: true,
colHeaders: true,
manualColumnResize: true,
stretchH: ‘last’,
colWidths: 100,
manualColumnMove: true,
licenseKey: ‘non-commercial-and-evaluation’
}
JsFilddle to the Problem

Thank you for sharing the issue @sebastian.rupprecht

I have replicated the issues and found 2 case scenarios when the combination of

  • stretching
  • resizing
  • moving

plugins does not cooperate well.

I reported it here https://github.com/handsontable/handsontable/issues/8726 and will notify you once we solve it.

I tried to work around this issue by restarting the stretching in the afterColumnResize hook, but it did not help. It seems that after this particular operation 100% is no longer the same 100% as before the action.