capricorn86/happy-dom

`hasPointerCapture` is not supported

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
I am writing some Vitest tests with the Kobalte component library. The Slider component uses the hasPointerCapture method on the Element interface, which happy-dom doesn't support.

Describe the solution you'd like
Support for this function.

Describe alternatives you've considered
happy-dom is the alternative for me. I've been using jsdom with Vitest, and ran into this issue with it. I saw that there was a draft pull request from 5 years ago that hadn't received any activity since 2021.

Additional context
I have no knowledge of or experience working with hasPointerCapture(), so I don't think I'll be able to help much here.

Some related issues:

Thank you for developing this library, by the way :)