mirror of https://github.com/zulip/zulip.git
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:
parent
26c63abe18
commit
77f2562cbb
|
@ -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");
|
||||
|
||||
|
|
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue