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

Not working. Error: r.getClientRects is not a function #400

Open
cnbcyln opened this issue Apr 26, 2018 · 6 comments
Open

Not working. Error: r.getClientRects is not a function #400

cnbcyln opened this issue Apr 26, 2018 · 6 comments

Comments

@cnbcyln
Copy link

cnbcyln commented Apr 26, 2018

Uncaught TypeError: r.getClientRects is not a function
at w.fn.init.offset (jquery-3.3.1.min.js:2)
at Object.getWithinInfo (position.min.js?ver=1.11.4:11)
at w.fn.init.a.fn.position (position.min.js?ver=1.11.4:11)
at $.(/wp-admin/anonymous function).(anonymous function)._suggest (https://code.jquery.com/ui/1.12.1/jquery-ui.js:6101:6)
at $.(/wp-admin/anonymous function).(anonymous function)._suggest (https://code.jquery.com/ui/1.12.1/jquery-ui.js:144:25)
at $.(/wp-admin/anonymous function).(anonymous function).__response (https://code.jquery.com/ui/1.12.1/jquery-ui.js:6039:9)
at $.(/wp-admin/anonymous function).(anonymous function).__response (https://code.jquery.com/ui/1.12.1/jquery-ui.js:144:25)
at $.(/wp-admin/anonymous function).(anonymous function)._superApply (https://code.jquery.com/ui/1.12.1/jquery-ui.js:133:35)
at $.(/wp-admin/anonymous function).(anonymous function).__response (https://code.jquery.com/ui/1.12.1/jquery-ui.js:6225:8)
at $.(/wp-admin/anonymous function).(anonymous function).__response (https://code.jquery.com/ui/1.12.1/jquery-ui.js:144:25)

@aehlke
Copy link
Owner

aehlke commented Apr 26, 2018

I have not yet updated this for jQuery 3, sorry.

@cnbcyln
Copy link
Author

cnbcyln commented Apr 26, 2018

I understand. But I use JQuery 3. And there are people like me who have this problem. You have to solve the problem.

@rafimemmeni
Copy link

I have the same issue in JQuery 3

@will-ashworth
Copy link

will-ashworth commented Mar 2, 2019

Having the issue now and looking for a reasonable fix as well.

Also FWIW, my thoughts on...

I understand. But I use JQuery 3. And there are people like me who have this problem. You have to solve the problem.

And for the record, the package maintainer doesn't "have" to do anything (I can't believe I just read that). You're benefiting from free software. You're welcome to pay for another solution if you don't like the current state of the project; or contribute back to the project. Development time for side projects doesn't come easy for many of us. It's often donated time free of charge to the open source community.

@juanmf
Copy link

juanmf commented May 6, 2022

"Just fix it, OKAY?"
LMAO

Now, is this still a problem? I'm including random versions of JQuery:

JQuery-3.4.1
JQueryUI-1.11.3

From company repos, for a Tampermonkey userScript.
Should I use other versions? Which ones would work fine together?

@Rodgath
Copy link

Rodgath commented Jun 25, 2022

I fixed this issue.

It's a compatibility with jQuery 3.x.x and earlier verions of jQuery UI before 1.12.0.

Simply use this jQuery migrate version - https://code.jquery.com/jquery-migrate-3.0.0.min.js

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

6 participants