From 8cb97890dfbd36d70e88de459017e78d099c0f2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marker=20dao=20=C2=AE?= Date: Wed, 9 Oct 2024 16:37:52 +0200 Subject: [PATCH] refactor(lookup): isInputFocusable --- packages/devextreme/js/__internal/ui/m_lookup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/devextreme/js/__internal/ui/m_lookup.ts b/packages/devextreme/js/__internal/ui/m_lookup.ts index 018c523d6e29..b04b3ed997e0 100644 --- a/packages/devextreme/js/__internal/ui/m_lookup.ts +++ b/packages/devextreme/js/__internal/ui/m_lookup.ts @@ -549,7 +549,7 @@ const Lookup = DropDownList.inherit({ _scrollToSelectedItemEnabled, } = this.option(); - const isInputFocusable = (usePopover && !_scrollToSelectedItemEnabled) || !dropDownCentered; + const isInputFocusable = usePopover ? !_scrollToSelectedItemEnabled : !dropDownCentered; if (isInputFocusable) { this.callBase(e);