Client: Fix closing combobox by clicking on scroll elements

This commit is contained in:
Aleksandr Lushkin 2024-03-08 12:21:42 +01:00
parent d1d2fd8343
commit 3925350962

View File

@ -64,8 +64,9 @@ const ComboBoxPure = (props: ComboboxProps) => {
disableItemClick ||
isLoading ||
(disableIconClick && e && target.closest(".optionalBlock")) ||
target.classList.contains("nav-thumb-vertical") ||
target.classList.contains("ScrollbarsCustom") ||
target.classList.contains("ScrollbarsCustom-Thumb") ||
target.classList.contains("ScrollbarsCustom-Track") ||
target.classList.contains("backdrop-active")
)
return;