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

userEvent.click does not work on Material Table #237

Closed
kkateli opened this issue Mar 20, 2020 · 2 comments
Closed

userEvent.click does not work on Material Table #237

kkateli opened this issue Mar 20, 2020 · 2 comments

Comments

@kkateli
Copy link

kkateli commented Mar 20, 2020

When I try to use userEvent.click to simulate click event on Material Table(https://github.com/mbrn/material-table), it gives me an error of "document.createRange is not a function". Please help.

@kentcdodds
Copy link
Member

Hi @kkateli,

Could you please make a minimal reproduction? Once we have something then we can re-open this issue :) Thanks!

@ogenodisho
Copy link

This should fix the issue assuming you're not on Jest 26 or over: mui/material-ui#15726 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants