mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
Completely replace perfect-scrollbar with SimpleBar.
perfect-scrollbar replaces both the appearance and the behavior of the scrollbar, and its emulated behavior will never feel native on most platforms. SimpleBar customizes the appearance while preserving the native behavior. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
committed by
Tim Abbott
parent
491589579a
commit
141088586b
@@ -34,6 +34,7 @@ exports.scroll_element_into_container = function (elem, container) {
|
||||
// this will be non-intrusive to users when they already have
|
||||
// the element visible.
|
||||
|
||||
container = ui.get_scroll_element(container);
|
||||
var elem_top = elem.position().top;
|
||||
var elem_bottom = elem_top + elem.innerHeight();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user