There was an error while loading. Please reload this page.
1 parent 8acb7a6 commit 4097470Copy full SHA for 4097470
1 file changed
src/features/message-center/components/message-center-modal/MessageCenterModal.js
@@ -118,6 +118,7 @@ function MessageCenterModal({
118
currentCategory={category}
119
categories={categories}
120
onSelect={value => {
121
+ cache.clearAll();
122
setCategory(value);
123
}}
124
/>
@@ -241,6 +242,7 @@ function MessageCenterModal({
241
242
rowCount={filteredMessages.length}
243
rowHeight={cache.rowHeight}
244
rowRenderer={rowRenderer}
245
+ scrollToIndex={0}
246
style={listStyle}
247
width={width - SCROLLBAR_MARGIN}
248
0 commit comments