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 6e0ed9a commit 2bef045Copy full SHA for 2bef045
projects/igniteui-angular/src/lib/services/overlay/overlay.spec.ts
@@ -1032,8 +1032,6 @@ describe('igxOverlay', () => {
1032
document.documentElement.dispatchEvent(new Event('scroll'));
1033
tick();
1034
expect(scrollSpy).toHaveBeenCalledTimes(2);
1035
- // overlay is closed, there are no anymore overlays, so scrollbar hides and scrolltop is 0
1036
- expect(document.documentElement.scrollTop).toEqual(0); // Should allow the scroll and close the overlay
1037
expect(document.getElementsByClassName(CLASS_OVERLAY_WRAPPER).length).toEqual(0);
1038
expect(scrollStrat.detach).toHaveBeenCalledTimes(1);
1039
expect(overlay.hide).toHaveBeenCalledTimes(1);
0 commit comments