From 55b8df566e31f388efe6afc78c628a2b0401ee4c Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Thu, 6 Jul 2023 14:44:11 +0200 Subject: [PATCH] BUGFIX: 3495 Dimension selector deactivate searchbox The `SelectBox` component doest seem to work currently when beeing expanded in the upper toolbar. As it will take some time investigating this, we should disable the optional search feature to make the switcher useable for now at all. --- .../PrimaryToolbar/DimensionSwitcher/DimensionSelector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/neos-ui/src/Containers/PrimaryToolbar/DimensionSwitcher/DimensionSelector.js b/packages/neos-ui/src/Containers/PrimaryToolbar/DimensionSwitcher/DimensionSelector.js index 9e6d1ad23f..084874e4eb 100644 --- a/packages/neos-ui/src/Containers/PrimaryToolbar/DimensionSwitcher/DimensionSelector.js +++ b/packages/neos-ui/src/Containers/PrimaryToolbar/DimensionSwitcher/DimensionSelector.js @@ -71,7 +71,7 @@ export default class DimensionSelector extends PureComponent { value={activePreset} allowEmpty={false} headerIcon={showDropDownHeaderIcon ? this.props.icon : null} - displaySearchBox={sortedPresetOptions.length >= 10} + displaySearchBox={false} // TODO reenable `sortedPresetOptions.length >= 10` but see https://github.com/neos/neos-ui/issues/3495 searchOptions={searchOptions(this.state.searchTerm, sortedPresetOptions)} onSearchTermChange={this.handleSearchTermChange} noMatchesFoundLabel={i18nRegistry.translate('Neos.Neos:Main:noMatchesFound')}