Fix dropdown click aways [SCI-9599]

This commit is contained in:
Anton 2023-10-25 14:29:08 +02:00
parent ff667a3a2b
commit 7515c979dd

View file

@ -479,7 +479,7 @@ var dropdownSelector = (function() {
$(window).scroll(() => { updateDropdownDirection(selectElement, dropdownContainer); });
// When user will click away, we must close dropdown
$(window).click(() => {
$(document).click(() => {
if (dropdownContainer.hasClass('open')) {
dropdownContainer.find('.search-field').val('');
}