We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ca9e24 commit 83f1e06Copy full SHA for 83f1e06
packages/web-components/src/components/data-table/table-toolbar-content.ts
@@ -31,8 +31,10 @@ class CDSTableToolbarContent extends LitElement {
31
size;
32
33
updated(changedProperties) {
34
- if (changedProperties.has('hasBatchActions')) {
35
- this.setAttribute('tabindex', `${this.hasBatchActions ? '-1' : ''}`);
+ if (this.hasBatchActions) {
+ this.setAttribute('tabindex', '-1');
36
+ } else {
37
+ this.removeAttribute('tabindex');
38
}
39
40
if (changedProperties.has('size')) {
0 commit comments