From 9d90fd9a2a65ab1ff338bb109426ca93075937fa Mon Sep 17 00:00:00 2001 From: Xavier Dubuc Date: Tue, 13 Oct 2020 14:53:14 +0000 Subject: [FIX] mail: make only composer as fixed in chatter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit task-2282325 closes odoo/odoo#60524 Related: odoo/enterprise#14481 Signed-off-by: Sébastien Theys (seb) --- addons/mail/static/src/components/thread_view/thread_view.js | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'addons/mail/static/src/components/thread_view') diff --git a/addons/mail/static/src/components/thread_view/thread_view.js b/addons/mail/static/src/components/thread_view/thread_view.js index 42e513be888..ceff30d1077 100644 --- a/addons/mail/static/src/components/thread_view/thread_view.js +++ b/addons/mail/static/src/components/thread_view/thread_view.js @@ -85,6 +85,17 @@ class ThreadView extends Component { return this._messageListRef.comp.getScrollTop(); } + /** + * @private + * @param {MouseEvent} ev + */ + onScroll(ev) { + if (!this._messageListRef.comp) { + return; + } + this._messageListRef.comp.onScroll(ev); + } + /** * @returns {mail.thread_view} */ -- cgit v1.2.3