Skip to content

Commit

Permalink
refactor(lookup): isInputFocusable
Browse files Browse the repository at this point in the history
  • Loading branch information
marker dao ® committed Oct 9, 2024
1 parent fbceb05 commit 8cb9789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/devextreme/js/__internal/ui/m_lookup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8cb9789

Please sign in to comment.