Cannot read properties of undefined (reading 'mouse')
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 11.3k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the refresh failure with jquery-ui 1.13.0, Angular 12, and draggable.js, then inspect the stack location around draggable.js:39 and the reported undefined mouse property. Done means identifying the cause and confirming that the error no longer occurs after a page refresh.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, javascript, jquery
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100