happy-dom icon indicating copy to clipboard operation
happy-dom copied to clipboard

`hasPointerCapture` is not supported

Open gBasil opened this issue 9 months ago • 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:

  • https://github.com/testing-library/user-event/discussions/1087

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

gBasil avatar May 12 '24 23:05 gBasil