Skip to content

Commit

Permalink
Merge branch 'fix-shift-tab-behaviour' into ui-improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
e11sy committed Oct 30, 2024
2 parents e0cb899 + 0a56a52 commit 2364a6d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/ListTabulator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -992,6 +992,15 @@ export default class ListTabulator<Renderer extends ListRenderer> {
prevItem.appendChild(prevItemChildrenListWrapper);
}

const currentItemChildWrapper = getItemChildWrapper(currentItem);

/**
* Remove child wrapper after moving all children
*/
if (currentItemChildWrapper !== null) {
removeChildWrapperIfEmpty(currentItemChildWrapper);
}

focusItem(currentItem, false);
}

Expand Down

0 comments on commit 2364a6d

Please sign in to comment.