Skip to content

Commit

Permalink
fix categroy-filter focus display
Browse files Browse the repository at this point in the history
  • Loading branch information
papegaill committed Jul 19, 2022
1 parent 89def02 commit 61ae04b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class CategoryFilter {
* Initialise component.
*/
init() {
// Query elements
// Query elementslur
this.items = queryAll(this.itemSelector, this.element);

// Bind click event on open
Expand Down Expand Up @@ -90,8 +90,6 @@ export class CategoryFilter {

const treeItem = e.target.closest('.ecl-category-filter__item');

treeItem.blur();

if (treeItem.classList.contains('ecl-category-filter__item--level-1')) {
this.items.forEach((item) => {
if (item !== treeItem) {
Expand Down

0 comments on commit 61ae04b

Please sign in to comment.