@fluid-topics/ftds-tree-list 2.1.18 → 2.1.20

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.
@@ -295,7 +295,7 @@ export class FtdsTreeList extends FtLitElement {
295
295
  const tree = this.data.rootNodes;
296
296
  const visibleItems = this.getAdjacentVisibleTreeItems(tree, currentNode);
297
297
  const currentNodeIndex = visibleItems.findIndex((node) => node.value === currentNode.value);
298
- if (event.shiftKey && (event.key === " " || event.key === "Space")) {
298
+ if (event.shiftKey && event.key === " ") {
299
299
  event.stopPropagation();
300
300
  }
301
301
  else {
@@ -303,7 +303,6 @@ export class FtdsTreeList extends FtLitElement {
303
303
  switch (event.key) {
304
304
  case "Enter":
305
305
  case " ":
306
- case "Space":
307
306
  if (isLoadMore && parentNode) {
308
307
  this.loadMore(parentNode);
309
308
  }