Skip to content
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

hasPointerCapture is not supported #1434

Open
gBasil opened this issue May 12, 2024 · 0 comments
Open

hasPointerCapture is not supported #1434

gBasil opened this issue May 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@gBasil
Copy link

gBasil commented May 12, 2024

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 :)

@gBasil gBasil added the enhancement New feature or request label May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant