diff --git a/packages/main/src/Table.ts b/packages/main/src/Table.ts index d5e940aabc65..7dcbc0671ed5 100644 --- a/packages/main/src/Table.ts +++ b/packages/main/src/Table.ts @@ -634,7 +634,7 @@ class Table extends UI5Element { } const widths = []; - const visibleHeaderCells = this.headerRow[0]._visibleCells as TableHeaderCell[]; + const visibleHeaderCells = this.headerRow[0]._visibleCells; // Selection Cell Width if (this._isRowSelectorRequired) { diff --git a/packages/main/src/TableCustomAnnouncement.ts b/packages/main/src/TableCustomAnnouncement.ts index 6e35512072ab..85d83f7bbd78 100644 --- a/packages/main/src/TableCustomAnnouncement.ts +++ b/packages/main/src/TableCustomAnnouncement.ts @@ -202,7 +202,7 @@ class TableCustomAnnouncement extends TableExtension { descriptions.push(i18nBundle.getText(TABLE_ROW_ACTIVE)); } - const cells = [...row._visibleCells, ...row._popinCells] as TableCell[]; + const cells = [...row._visibleCells, ...row._popinCells]; cells.flatMap(cell => { return cell._popin ? [cell._popinHeader!, cell._popinContent!] : [cell._headerCell, cell]; }).forEach(node => { diff --git a/packages/main/src/TableHeaderRow.ts b/packages/main/src/TableHeaderRow.ts index 06fa9f9f5466..cef10b8f485a 100644 --- a/packages/main/src/TableHeaderRow.ts +++ b/packages/main/src/TableHeaderRow.ts @@ -45,7 +45,7 @@ import { * * @public */ -class TableHeaderRow extends TableRowBase { +class TableHeaderRow extends TableRowBase { /** * Defines the cells of the component. * diff --git a/packages/main/src/TableRow.ts b/packages/main/src/TableRow.ts index ab8e7dd1b48e..a69936e9005f 100644 --- a/packages/main/src/TableRow.ts +++ b/packages/main/src/TableRow.ts @@ -35,7 +35,7 @@ import { styles: [TableRowBase.styles, TableRowCss], template: TableRowTemplate, }) -class TableRow extends TableRowBase { +class TableRow extends TableRowBase { /** * Defines the cells of the component. * diff --git a/packages/main/src/TableRowBase.ts b/packages/main/src/TableRowBase.ts index d4c429c508c0..0798cdad6dfd 100644 --- a/packages/main/src/TableRowBase.ts +++ b/packages/main/src/TableRowBase.ts @@ -25,8 +25,8 @@ import { renderer: jsxRenderer, styles: TableRowBaseCss, }) -abstract class TableRowBase extends UI5Element { - cells!: Array; +abstract class TableRowBase extends UI5Element { + cells!: Array; @property({ type: Number, noAttribute: true }) _invalidate = 0; diff --git a/packages/main/src/themes/TableGrowing.css b/packages/main/src/themes/TableGrowing.css index 6e7b8e97c432..f08a75bb8877 100644 --- a/packages/main/src/themes/TableGrowing.css +++ b/packages/main/src/themes/TableGrowing.css @@ -6,6 +6,7 @@ flex-direction: column; cursor: pointer; border-bottom: 1px solid var(--sapList_BorderColor); + background: var(--sapList_Background); } #button:focus {