Skip to content

Commit ccb49f3

Browse files
committed
fix(virtual-list): several issues
1 parent 8ac2ff4 commit ccb49f3

File tree

3 files changed

+182
-178
lines changed

3 files changed

+182
-178
lines changed

src/components/virtual-scroll/test/virtual-scroll.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ describe('VirtualScroll', () => {
306306
describe('initReadNodes', () => {
307307

308308
it('should get all the row heights w/ 30% width rows', () => {
309-
let firstTop = 3;
309+
let firstTop = 13;
310310
nodes = [
311311
{cell: 0, tmpl: TEMPLATE_HEADER, view: getView(data.viewWidth, HEIGHT_HEADER, firstTop, 0)},
312312
{cell: 1, tmpl: TEMPLATE_ITEM, view: getView(90, HEIGHT_ITEM, HEIGHT_HEADER + firstTop, 0)},

0 commit comments

Comments
 (0)