mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-25 22:41:36 +08:00
fix(client): quick search popup not working in horizontal layout (closes #1647)
This commit is contained in:
parent
6cc10a47d1
commit
63458d55d3
@ -56,7 +56,11 @@ export default class QuickSearchWidget extends BasicWidget {
|
||||
|
||||
doRender() {
|
||||
this.$widget = $(TPL);
|
||||
this.dropdown = Dropdown.getOrCreateInstance(this.$widget.find("[data-bs-toggle='dropdown']")[0]);
|
||||
this.dropdown = Dropdown.getOrCreateInstance(this.$widget.find("[data-bs-toggle='dropdown']")[0], {
|
||||
popperConfig: {
|
||||
strategy: "fixed"
|
||||
}
|
||||
});
|
||||
|
||||
this.$searchString = this.$widget.find(".search-string");
|
||||
this.$dropdownMenu = this.$widget.find(".dropdown-menu");
|
||||
|
Loading…
x
Reference in New Issue
Block a user