fix: activate selection mode on show search input for expanded listbox (#1570)

* fix: goes in i selection mode on show search input for expanded filterpane

* fix: pr comment
This commit is contained in:
linhnguyen-qlik
2024-06-27 15:11:46 +02:00
committed by GitHub
parent d9e51781ae
commit 0dea433ef1

View File

@@ -226,6 +226,9 @@ function ListBoxInline({ options, layout }) {
const handleShowSearch = () => {
const newValue = !showSearch;
setShowSearch(newValue);
if (newValue && !isPopover && !selections.isActive()) {
selections.begin('/qListObjectDef');
}
};
const onCtrlF = () => {