spectator: Bug: `el.getClientRects is not a function` on version 3.9.2
Hi,
I’ve just upgraded to 3.9.2, and I’m seeing this exception when using isVisible()
matcher:
el.getClientRects is not a function
.
Downgrading to 3.9.1 resolves the issue. Using Headless Chrome (latest build), with Jasmine and Karma.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 20 (7 by maintainers)
Commits related to this issue
- fix(matchers): pass input to `isHidden` through jQuery (fixes #122) Ensures the matcher logic operates on an element even if a selector is provided as input to the function. — committed to benelliott/spectator by benelliott 5 years ago
- fix(matchers): pass input to `isHidden` through jQuery (fixes #122) Ensures the matcher logic operates on an element even if a selector is provided as input to the function. — committed to benelliott/spectator by benelliott 5 years ago
- fix(matchers): pass input to `isHidden` through jQuery (fixes #122) Ensures the matcher logic operates on an element even if a selector is provided as input to the function. — committed to benelliott/spectator by benelliott 5 years ago
- fix(matchers): pass input to `isHidden` through jQuery (fixes #1… (#124) fix(matchers): pass input to `isHidden` through jQuery (fixes #122) — committed to ngneat/spectator by benelliott 5 years ago
I can push a quick fix for this.
That was my assumption as well - got that assumption confirmed when downgrading. I’ll try getting something reproduced on Stackblitz when I have some time.