Skip to content

Commit 9530a5b

Browse files
authored
fix(ui5-table): Select all column is now sticky (#3950)
* fix(ui5-table): Select all column is now sticky * review comment fix
1 parent e020249 commit 9530a5b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

packages/main/src/themes/Table.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@ tr {
7979
text-align: center;
8080
}
8181

82+
:host([sticky-column-header]) .ui5-table-select-all-column {
83+
position: sticky;
84+
top: 0;
85+
z-index: 99;
86+
}
87+
8288
th {
8389
background: var(--sapList_HeaderBackground);
8490
}

packages/main/test/pages/TableSelection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
<br>
147147
<br>
148148
<ui5-title>Table in MultiSelect mode</ui5-title>
149-
<ui5-table id="multi" mode="MultiSelect">
149+
<ui5-table id="multi" mode="MultiSelect" sticky-column-header>
150150

151151
<ui5-table-column slot="columns">
152152
<ui5-label>Product</ui5-label>

0 commit comments

Comments
 (0)