File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
app/assets/javascripts/discourse/app/components/discovery Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import { bind } from "discourse/lib/decorators";
19
19
import FilterSuggestions from " discourse/lib/filter-suggestions" ;
20
20
import { resettableTracked } from " discourse/lib/tracked-tools" ;
21
21
import { i18n } from " discourse-i18n" ;
22
+ import { VISIBILITY_OPTIMIZERS } from " float-kit/lib/constants" ;
22
23
23
24
const MAX_RESULTS = 20 ;
24
25
@@ -400,6 +401,7 @@ export default class FilterNavigationMenu extends Component {
400
401
component: FilterNavigationMenuList,
401
402
data: this .trackedMenuListData ,
402
403
maxWidth: 2000 ,
404
+ visibilityOptimizer: VISIBILITY_OPTIMIZERS .AUTO_PLACEMENT ,
403
405
});
404
406
405
407
// HACK: We don't have a nice way for DMenu to be the same width as
You can’t perform that action at this time.
0 commit comments