Fixing jumping to bottom of channels when messages recieved in anouther channel

Этот коммит содержится в:
Christopher Speller
2015-11-06 14:20:54 -05:00
родитель 1610fe6ca5
Коммит 4795c7c003

Просмотреть файл

@@ -87,6 +87,8 @@ export default class PostsViewContainer extends React.Component {
// Has the channel really changed?
if (channelId === channels[this.state.currentChannelIndex]) {
// Dirty hack
this.forceUpdate();
return;
}