Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

panels: Fix incorrect frb positioning.

Ryan Rehman5041616adb73
diff --git a/static/js/floating_recipient_bar.js b/static/js/floating_recipient_bar.js
index 1c38caf066f..ac6de725cef 100644
--- a/static/js/floating_recipient_bar.js
+++ b/static/js/floating_recipient_bar.js
@@ -9,7 +9,7 @@ import * as timerender from "./timerender";
let is_floating_recipient_bar_showing = false;
function top_offset(elem) {
- return elem.offset().top - $("#message_view_header").safeOuterHeight();
+ return elem.offset().top - $("#message_view_header").safeOuterHeight() - $("#panels").height();
}
export function first_visible_message(bar) {