[FIX] Load messages after disconnect and message box scroll missing (#14668)

pull/14823/head
Guilherme Gazzo 6 years ago committed by Diego Sampaio
parent c178ddb1d8
commit 9dfbc665e5
  1. 2
      app/ui-message/client/messageBox/messageBoxAutogrow.js
  2. 3
      app/ui-utils/client/lib/RoomManager.js

@ -56,7 +56,7 @@ export const setupAutogrow = (textarea: HTMLTextAreaElement, shadow: HTMLDivElem
lastHeight = height;
const overflow = height === maxHeight ? 'hidden' : '';
const overflow = height < maxHeight ? 'hidden' : '';
if (height < maxHeight) {
textLenght = text.length;

@ -10,13 +10,14 @@ import { fireGlobalEvent } from './fireGlobalEvent';
import { upsertMessage, RoomHistoryManager } from './RoomHistoryManager';
import { mainReady } from './mainReady';
import { roomTypes } from '../../../utils';
import { call } from '../..';
import { callbacks } from '../../../callbacks';
import { Notifications } from '../../../notifications';
import { CachedChatRoom, ChatMessage, ChatSubscription, CachedChatSubscription } from '../../../models';
import { CachedCollectionManager } from '../../../ui-cached-collection';
import { getConfig } from '../config';
import { call } from '..';
const maxRoomsOpen = parseInt(getConfig('maxRoomsOpen')) || 5;

Loading…
Cancel
Save