From 2f08a13ab57a97bb18f3cc4250f30f5f00b02e3a Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Tue, 13 Aug 2024 22:16:02 -0700 Subject: [PATCH] Fix RHS scroll so AI plugin generation won't scroll off bottom (#27871) * Fix RHS scroll so AI plugin generation won't scroll off bottom * Fix scroll without breaking virtual list. --------- Co-authored-by: Mattermost Build --- .../virtualized_thread_viewer/virtualized_thread_viewer.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/channels/src/components/threading/virtualized_thread_viewer/virtualized_thread_viewer.tsx b/webapp/channels/src/components/threading/virtualized_thread_viewer/virtualized_thread_viewer.tsx index 871c2d0e6e..e9d3dddaca 100644 --- a/webapp/channels/src/components/threading/virtualized_thread_viewer/virtualized_thread_viewer.tsx +++ b/webapp/channels/src/components/threading/virtualized_thread_viewer/virtualized_thread_viewer.tsx @@ -451,6 +451,7 @@ class ThreadViewerVirtualized extends PureComponent { style={virtListStyles} width={width} className={'post-list__dynamic--RHS'} + correctScrollToBottom={true} > {this.renderRow}