Skip to content

Commit 64b0c97

Browse files
committed
[hybrid][vaadin-grid 2+] Fix #63. No locale should be selected in listview on unsupported html.lang
1 parent 3475f79 commit 64b0c97

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

live-localizer-list-view.html

+8
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,14 @@
357357
break;
358358
}
359359
}
360+
if (i >= this.model.listItems.length) {
361+
if (this.version1) {
362+
this.$.list.selection.clear();
363+
}
364+
if (this.version2) {
365+
this.$.list.selectedItems = [];
366+
}
367+
}
360368
}
361369
e.stopPropagation();
362370
},

0 commit comments

Comments
 (0)