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

Does not work with jQuery 3.x #39

Open
TouriSpo opened this issue Mar 31, 2017 · 1 comment
Open

Does not work with jQuery 3.x #39

TouriSpo opened this issue Mar 31, 2017 · 1 comment

Comments

@TouriSpo
Copy link

Easy to reproduce: Use jQuery 2.x and it works fine. Switch to new jQuery 3.x release and it does not work anymore

@TouriSpo
Copy link
Author

A little update. I narrowed the bug down. When using jQuery 3.x the following code

function resize(e) { console.log("This: "); console.log(this); console.log("Dollar This: "); console.log($(this)); .... Rest of resize methode

shows that $(this) is the whole Document object:
jquery3

while when using jQuery 2.x it is the actual textarea:
jquery2

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

1 participant