We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6610f53 commit ee927acCopy full SHA for ee927ac
packages/grid/test/scroll-to-index.test.js
@@ -51,7 +51,7 @@ describe('scroll to index', () => {
51
expect(getLastVisibleItem(grid).index).to.equal(index);
52
53
const table = grid.$.table;
54
- expect(table.scrollTop).to.equal(table.scrollHeight - table.offsetHeight);
+ expect(Math.ceil(table.scrollTop)).to.equal(table.scrollHeight - table.offsetHeight);
55
} else {
56
expect(getFirstVisibleItem(grid).index).to.equal(index);
57
}
0 commit comments