Skip to content

Commit

Permalink
Cope with class name change on filter input
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Oct 7, 2024
1 parent 3ba2405 commit 1d22470
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,13 +187,13 @@ const expandPathsToFilterResults = (newFilterValue: string) => {
nextFilterChangeNeedsExpandAll.value = false;
};
const getInputElement = () => {
function getInputElement() {
if (treeComponent.value !== null) {
return treeComponent.value.$el.ownerDocument.querySelector(
'input[data-pc-name="pcfilter"]',
'input[data-pc-name="pcfilterinput"]',
) as HTMLInputElement;
}
};
}
const restoreFocusToInput = () => {
// The current implementation of collapsing all nodes when
Expand Down

0 comments on commit 1d22470

Please sign in to comment.