The PR fixes an issue where the GhostTable (module used to calculate the rows/columns widths/heights) overwrites the cell meta coordinates (row and col properties) to local ones, which resulted in weird behavior in other modules in the table, such as validation or so. The coordinates should not be changed that way as all the objects are cached, and the changes are reflected in all modules.
How has this been tested?
I tested the changes locally and I covered the fix with new tests.
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
Context
The PR fixes an issue where the GhostTable (module used to calculate the rows/columns widths/heights) overwrites the cell meta coordinates (
row
andcol
properties) to local ones, which resulted in weird behavior in other modules in the table, such as validation or so. The coordinates should not be changed that way as all the objects are cached, and the changes are reflected in all modules.How has this been tested?
I tested the changes locally and I covered the fix with new tests.
Types of changes
Related issue(s):
Affected project(s):
handsontable
Checklist: