提交 a1551351 编写于 作者: J Joao Moreno

list view: webkit transform

上级 96010725
......@@ -175,7 +175,9 @@ export class ListView<T> implements IDisposable {
rangesToInsert.forEach(range => each(range, i => this.insertItemInDOM(this.items[i], i)));
rangesToRemove.forEach(range => each(range, i => this.removeItemFromDOM(this.items[i])));
this.rowsContainer.style.transform = `translate3d(0px, -${renderTop}px, 0px)`;
const transform = `translate3d(0px, -${renderTop}px, 0px)`;
this.rowsContainer.style.transform = transform;
this.rowsContainer.style.webkitTransform = transform;
this.lastRenderTop = renderTop;
this.lastRenderHeight = renderHeight;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册