Skip to content

Commit 1a63dd5

Browse files
authored
Attach tippy to parent for combobox and autocomplete (#26326)
1 parent 81b61bb commit 1a63dd5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/main/js/components/dropdowns/autocomplete.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ function init() {
4343
instance.popper.style.minWidth = e.offsetWidth + "px";
4444
},
4545
true,
46+
{
47+
appendTo: "parent",
48+
},
4649
);
4750
}
4851
e.dropdown.setContent(Utils.generateDropdownItems(items, true));

src/main/js/components/dropdowns/combo-box.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ function init() {
3232
e.dropdown = instance;
3333
},
3434
true,
35+
{
36+
appendTo: "parent",
37+
},
3538
);
3639
}
3740
e.dropdown.setContent(Utils.generateDropdownItems(items, true));

0 commit comments

Comments
 (0)