fix: unable to remove query tags from the beginning when similar tags present (#6645)

* fix: unable to remove query tags from the begining

* fix: focus only when the filters dropdown is opened

* fix: used auto focus prop
This commit is contained in:
Vikrant Gupta 2024-12-16 22:25:37 +05:30 committed by GitHub
parent 951593b0a3
commit 2701ae5c34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -897,12 +897,14 @@ function QueryBuilderSearchV2(
<Select
ref={selectRef}
getPopupContainer={popupContainer}
key={queryTags.join('.')}
virtual={false}
showSearch
tagRender={onTagRender}
transitionName=""
choiceTransitionName=""
filterOption={false}
autoFocus={isOpen}
open={isOpen}
suffixIcon={
// eslint-disable-next-line no-nested-ternary