mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 19:45:05 +01:00
Remove misleading comment
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
9a00143623
commit
4cb9adc9ea
@ -123,7 +123,6 @@ export class LazyListView extends ListView {
|
|||||||
this._parent = el("div", {className: "LazyListParent"}, root);
|
this._parent = el("div", {className: "LazyListParent"}, root);
|
||||||
/*
|
/*
|
||||||
Hooking to scroll events can be expensive.
|
Hooking to scroll events can be expensive.
|
||||||
But in most of these scroll events, we return early.
|
|
||||||
Do we need to do more (like event throttling)?
|
Do we need to do more (like event throttling)?
|
||||||
*/
|
*/
|
||||||
this._parent.addEventListener("scroll", () => this._renderIfNeeded());
|
this._parent.addEventListener("scroll", () => this._renderIfNeeded());
|
||||||
|
Loading…
Reference in New Issue
Block a user