@syncfusion/ej2-richtexteditor 20.4.49 → 20.4.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27176,7 +27176,7 @@ class Table {
27176
27176
  const width = parseFloat(this.columnEle.offsetWidth.toString());
27177
27177
  const cellRow = this.curTable.rows[0].cells[0].nodeName === 'TH' ? 1 : 0;
27178
27178
  const currentTableWidth = parseFloat(this.curTable.style.width.split('%')[0]);
27179
- const currentColumnCellWidth = parseFloat(this.curTable.rows[cellRow].cells[this.colIndex].style.width.split('%')[0]);
27179
+ const currentColumnCellWidth = parseFloat(this.curTable.rows[cellRow].cells[this.colIndex >= this.curTable.rows[cellRow].cells.length ? this.curTable.rows[cellRow].cells.length - 1 : this.colIndex].style.width.split('%')[0]);
27180
27180
  if (this.currentColumnResize === 'first') {
27181
27181
  mouseX = mouseX - 0.75; //This was done for to make the gripper and the table first/last column will be close.
27182
27182
  this.removeResizeElement();