Merged in feature/IO-3554-Form-Row-Layout (pull request #3047)
feature/feature/IO-3554-Form-Row-Layout - Fix search, bump deps, fix formlayout
This commit is contained in:
@@ -478,15 +478,10 @@
|
||||
|
||||
|
||||
.global-search-autocomplete-fix {
|
||||
// Ant wrapper class names (common)
|
||||
.ant-select-selection-item,
|
||||
.ant-select-selection-placeholder {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
// rc-select internal class names (newer internal naming / fallback)
|
||||
.rc-select-content-value,
|
||||
.rc-select-placeholder {
|
||||
display: none !important;
|
||||
// This is the extra value render that causes the “duplicate text”
|
||||
.ant-select-selection-item {
|
||||
position: absolute !important;
|
||||
left: -10000px !important;
|
||||
pointer-events: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -185,6 +185,7 @@ export default function GlobalSearchOs() {
|
||||
<AutoComplete
|
||||
options={data}
|
||||
showSearch={{
|
||||
filterOption: false,
|
||||
onSearch: handleSearch
|
||||
}}
|
||||
onKeyDown={(e) => {
|
||||
|
||||
@@ -161,7 +161,8 @@ export default function GlobalSearch() {
|
||||
<AutoComplete
|
||||
options={options}
|
||||
showSearch={{
|
||||
onSearch: handleSearch
|
||||
onSearch: handleSearch,
|
||||
filterOption: false
|
||||
}}
|
||||
defaultActiveFirstOption
|
||||
onKeyDown={(e) => {
|
||||
|
||||
Reference in New Issue
Block a user