- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
elementFromPoint is not working #1400
Labels
Comments
Thank you for reporting @danieldongit! 🙂 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 public elementFromPoint(_x: number, _y: number): Element | null {
return null;
} |
Working on a PR for this now |
TreyVigus
pushed a commit
to TreyVigus/happy-dom
that referenced
this issue
Apr 27, 2024
TreyVigus
added a commit
to TreyVigus/happy-dom
that referenced
this issue
Apr 27, 2024
TreyVigus
added a commit
to TreyVigus/happy-dom
that referenced
this issue
Apr 27, 2024
TreyVigus
added a commit
to TreyVigus/happy-dom
that referenced
this issue
Apr 27, 2024
capricorn86
added a commit
that referenced
this issue
May 6, 2024
Co-authored-by: David Ortner <david@ortner.se>
Thank you for reporting @danieldongit! 🙂 Big thanks to @TreyVigus for contributing with a fix ⭐ https://github.com/capricorn86/happy-dom/releases/tag/v14.10.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: