DEV: Avoid infinite calling of computeDatesSeparators() (#21616)
This commit is contained in:
parent
86c2f461b0
commit
20a7192b4e
|
@ -870,7 +870,7 @@ export default class ChatLivePane extends Component {
|
|||
computeDatesSeparators() {
|
||||
cancel(this._laterComputeHandler);
|
||||
this._computeDatesSeparators();
|
||||
this._laterComputeHandler = later(this, this.computeDatesSeparators, 100);
|
||||
this._laterComputeHandler = later(this, this._computeDatesSeparators, 100);
|
||||
}
|
||||
|
||||
// A more consistent way to scroll to the bottom when we are sure this is our goal
|
||||
|
|
Loading…
Reference in New Issue