Closed danieldongit closed 2 months ago
Thank you for reporting @danieldongit! :slightly_smiling_face:
As Happy DOM can't render the Elements, it doesn't know which element will be at the point, but it should be possible to add a method that just returns null
.
public elementFromPoint(_x: number, _y: number): Element | null {
return null;
}
Working on a PR for this now
Thank you for reporting @danieldongit! :slightly_smiling_face:
Big thanks to @TreyVigus for contributing with a fix :star:
https://github.com/capricorn86/happy-dom/releases/tag/v14.10.0
Describe the bug I am using vendor code that utilized the
elementFromPoint
function (Codemirror 6).To Reproduce Reproduction will take setting up codemirror in a development environment along with a testing framework. Might be a bit of a process
Error Log