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 6d2e855 commit 1636e17Copy full SHA for 1636e17
projects/igniteui-angular/src/lib/test-utils/grid-functions.spec.ts
@@ -2282,8 +2282,8 @@ export class GridSelectionFunctions {
2282
}
2283
const hScrollbar = grid.headerContainer.getScroll();
2284
2285
- expect(headerDiv.offsetWidth).toEqual(firstRowDiv.offsetWidth);
2286
- expect(headerDiv.offsetLeft).toEqual(firstRowDiv.offsetLeft);
+ expect(headerDiv.clientWidth).toEqual(firstRowDiv.clientWidth);
2287
if (hScrollbar.scrollWidth) {
2288
expect(hScrollbar.offsetLeft).toEqual(firstRowDiv.offsetWidth + firstRowDiv.offsetLeft);
2289
0 commit comments