Skip to content

Commit

Permalink
IBX-7606: [Site context] Site dropdown changes width after entering a…
Browse files Browse the repository at this point in the history
… search term
  • Loading branch information
GrabowskiM committed Jan 30, 2024
1 parent e0be396 commit 430955e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bundle/Resources/public/js/scripts/core/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
}

super.show();

const { offsetWidth, style } = this.dropdown.itemsContainer;

style.width = `${offsetWidth}px`;
}
}
class Dropdown {
Expand Down

0 comments on commit 430955e

Please # to comment.