Middle Column: Fix message list scroll sometimes being frozen
This commit is contained in:
parent
b73c61889c
commit
e7ce375214
@ -659,7 +659,7 @@ export default memo(withGlobal<OwnProps>(
|
||||
messageLanguageModal,
|
||||
} = selectTabState(global);
|
||||
const currentMessageList = selectCurrentMessageList(global);
|
||||
const { chats: { listIds }, leftColumnWidth, lastSyncTime } = global;
|
||||
const { leftColumnWidth, lastSyncTime } = global;
|
||||
|
||||
const state: StateProps = {
|
||||
theme,
|
||||
@ -682,7 +682,7 @@ export default memo(withGlobal<OwnProps>(
|
||||
lastSyncTime,
|
||||
};
|
||||
|
||||
if (!currentMessageList || !listIds.active) {
|
||||
if (!currentMessageList) {
|
||||
return state;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user