adobe / adobe/react-spectrum

[RAC] DateInput happy-dom Maximum call stack size exceeded error

Open
#7,652 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
1.6k
Avg merge
3d 9m
Merged PRs (30d)
59

Description

### Provide a general summary of the issue here

When calling `user.click` on the `spinbutton`, we get an error: `Maximum call stack size exceeded` when using the `happy-dom` environment. Note that this does not occur when using `jsdom`.

### 🖥️ Steps to Reproduce

https://stackblitz.com/edit/vitejs-vite-mqeus19y?file=src%2Ftest.spec.tsx

run `npm run test`

### Version

1.6, also tested on 1.5

### What operating system are you using?

macOS

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.