popovers: Use fixed position for all popovers.

I manually verified that they were working correctly.
This commit is contained in:
Aman Agrawal 2023-05-27 12:01:08 +05:30 committed by Tim Abbott
parent 6a5cfd2c05
commit 067ce35fb1
1 changed files with 3 additions and 0 deletions

View File

@ -210,6 +210,7 @@ function show_user_info_popover_manage_menu(element, user) {
placement: "bottom", placement: "bottom",
html: true, html: true,
trigger: "manual", trigger: "manual",
fixed: true,
}); });
$popover_elt.popover("show"); $popover_elt.popover("show");
@ -497,6 +498,7 @@ function show_user_group_info_popover(element, group, message) {
content: render_user_group_info_popover_content(args), content: render_user_group_info_popover_content(args),
html: true, html: true,
trigger: "manual", trigger: "manual",
fixed: true,
}); });
$elt.popover("show"); $elt.popover("show");
$current_message_info_popover_elem = $elt; $current_message_info_popover_elem = $elt;
@ -715,6 +717,7 @@ export function toggle_playground_link_popover(element, playground_info) {
content: render_playground_links_popover_content({playground_info}), content: render_playground_links_popover_content({playground_info}),
html: true, html: true,
trigger: "manual", trigger: "manual",
fixed: true,
}); });
$elt.popover("show"); $elt.popover("show");
$current_playground_links_popover_elem = $elt; $current_playground_links_popover_elem = $elt;