mirror of https://github.com/zulip/zulip.git
Prevent scrolling in the stream/user sidebar from moving the message view
(imported from commit b2279b2bac07e29a41b3e5335d2e0d81eb196757)
This commit is contained in:
parent
57b6d6eb50
commit
ca2b48e1ee
|
@ -571,7 +571,7 @@ $(function () {
|
|||
// Stop propagation in all cases. Also, ignore the event if the element
|
||||
// is already at the top or bottom. Otherwise we get a new scroll event
|
||||
// on the parent (?).
|
||||
$('.modal-body, input, textarea').mousewheel(function (e, delta) {
|
||||
$('.modal-body, .bottom_sidebar, input, textarea').mousewheel(function (e, delta) {
|
||||
var self = $(this);
|
||||
var scroll = self.scrollTop();
|
||||
e.stopPropagation();
|
||||
|
|
Loading…
Reference in New Issue