popovers: Use `fixed` position for all bootstrap popovers.

`absolute` position elements in message feed can go
offscreen since `html` is now scrollable.
This commit is contained in:
Aman Agrawal 2023-05-23 19:48:06 +00:00 committed by Tim Abbott
parent 26c63abe18
commit 77f2562cbb
2 changed files with 2 additions and 0 deletions

View File

@ -649,6 +649,7 @@ export function build_emoji_popover($elt, id) {
content: generate_emoji_picker_content(id),
html: true,
trigger: "manual",
fixed: true,
});
$elt.popover("show");

View File

@ -243,6 +243,7 @@ export function initialize() {
$active_popover_element.popover({
animation: true,
placement: get_popover_placement(),
fixed: true,
html: true,
trigger: "manual",
template: get_popover_content(),