Fixing jumping to bottom of channels when messages recieved in anouther channel
Этот коммит содержится в:
@@ -87,6 +87,8 @@ export default class PostsViewContainer extends React.Component {
|
|||||||
|
|
||||||
// Has the channel really changed?
|
// Has the channel really changed?
|
||||||
if (channelId === channels[this.state.currentChannelIndex]) {
|
if (channelId === channels[this.state.currentChannelIndex]) {
|
||||||
|
// Dirty hack
|
||||||
|
this.forceUpdate();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user