-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Cannot read properties of undefined (reading 'mouse') #2023
Comments
Thanks for the report. Does the issue you describe exist when jQuery UI 1.12.1 is used or only with jQuery UI 1.13.0 or newer? Also, please attach a test case on JS Bin showing the error. |
Hi @mgol,
|
Thanks for the report. Since the issue is already in 1.12, given limited team resources it's not likely to be fixed by the UI team; see the project status at https://blog.jqueryui.com/2021/10/jquery-maintainers-update-and-transition-jquery-ui-as-part-of-overall-modernization-efforts/. PRs are welcome, though. Note that it would still be easier for whoever wants to look at this to have a working test case on JS Bin. |
Thanks @mgol, |
Hi @mgol, |
Hi @aparzi, I'm getting this same error with v1.12.1 and v1.13.1 (on the sortable widget, instead of draggable though). Installing Thanks a lot. |
It just occurred to me to check the source for sortable.js, and I saw that the "offending" param was from:
to:
|
Hello @spapaseit, |
Hi @aparzi, don't worry, the approach of my comment above works fine. |
Hi everyone,
I use jquery-ui: 1.13.0 in particullary widget draggable.js, in Angular 12. Bu when I refresh the page I get this error:
Uncaught TypeError: Cannot read properties of undefined (reading 'mouse')
at draggable.js:39
at draggable.js:35
at draggable.js:37
Could anyone help me?
I could possibly also open a pull request because I added a code snippet that handles the error.
Thanks, I'm waiting for updates.
The text was updated successfully, but these errors were encountered: