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

Add support for TouchEvent #1186

Closed
visualjerk opened this issue Dec 27, 2023 · 0 comments · Fixed by #1187
Closed

Add support for TouchEvent #1186

visualjerk opened this issue Dec 27, 2023 · 0 comments · Fixed by #1187
Labels
enhancement New feature or request

Comments

@visualjerk
Copy link

visualjerk commented Dec 27, 2023

Is your feature request related to a problem? Please describe.
After creating a new TouchEvent with happy-dom, some properties (e.g. TouchEvent.touches) are missing.

Example:

const touchEvent = new TouchEvent('touchstart', { touches: [] })
touchEvent.touches // undefined

Describe the solution you'd like
Add support for TouchEvent and its properties

Describe alternatives you've considered
none

Additional context
none

@visualjerk visualjerk added the enhancement New feature or request label Dec 27, 2023
visualjerk pushed a commit to visualjerk/happy-dom that referenced this issue Dec 27, 2023
capricorn86 added a commit to visualjerk/happy-dom that referenced this issue Jan 29, 2024
capricorn86 added a commit to visualjerk/happy-dom that referenced this issue Jan 29, 2024
capricorn86 added a commit that referenced this issue Jan 29, 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

Successfully merging a pull request may close this issue.

1 participant