summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/components/thread_viewer/thread_viewer.xml
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2020-06-24 09:19:08 +0000
committerLucas Perais (lpe) <lpe@odoo.com>2020-06-25 10:36:28 +0000
commit281329361dccd68895f39a69652329420fb52014 (patch)
tree4f35358405ab9d28599c96f0f5f587a36b0af5f9 /addons/mail/static/src/components/thread_viewer/thread_viewer.xml
parent2ecd2460b543fa63ac88dd802beb14e5576efe6e (diff)
[FIX] mail: prevent auto-scrolling of form view
Use case 1: Arriving in a record => The form view is scrolled to the first chatter message Use case 2: switch record with the pager => The other record is also scrolled to the first message After this commit, arriving on a record or switching record displays the top of the form view task-2238141 PR #53136 closes odoo/odoo#53644 X-original-commit: 42605baa5b8ddb94318f5a9d91a489c200469377 Related: odoo/enterprise#11429 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/mail/static/src/components/thread_viewer/thread_viewer.xml')
-rw-r--r--addons/mail/static/src/components/thread_viewer/thread_viewer.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/mail/static/src/components/thread_viewer/thread_viewer.xml b/addons/mail/static/src/components/thread_viewer/thread_viewer.xml
index 331d61c86b0..f7aabf2c412 100644
--- a/addons/mail/static/src/components/thread_viewer/thread_viewer.xml
+++ b/addons/mail/static/src/components/thread_viewer/thread_viewer.xml
@@ -13,6 +13,7 @@
<MessageList
class="o_ThreadViewer_messageList"
hasMessageCheckbox="props.hasMessageCheckbox"
+ hasScrollAdjust="props.hasScrollAdjust"
hasSquashCloseMessages="props.hasSquashCloseMessages"
haveMessagesAuthorRedirect="props.haveMessagesAuthorRedirect"
haveMessagesMarkAsReadIcon="props.haveMessagesMarkAsReadIcon"