mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-26 06:51:31 +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() {
|
doRender() {
|
||||||
this.$widget = $(TPL);
|
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.$searchString = this.$widget.find(".search-string");
|
||||||
this.$dropdownMenu = this.$widget.find(".dropdown-menu");
|
this.$dropdownMenu = this.$widget.find(".dropdown-menu");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user