Skip to content

Warning: event.returnValue is deprecated #538

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

Closed
mahboob-awan opened this issue Nov 14, 2013 · 1 comment
Closed

Warning: event.returnValue is deprecated #538

mahboob-awan opened this issue Nov 14, 2013 · 1 comment

Comments

@mahboob-awan
Copy link

event.returnValue is used at following place:
https://github.com/facebook/react/blob/master/src/event/synthetic/SyntheticEvent.js#L82

So getting this warning at Chrome [Version 31.0.1650.48] :

 event.returnValue is deprecated. Please use the standard event.preventDefault() instead.[react.js:11173]

You may notice that same issue is reported at:
http://bugs.jquery.com/ticket/14320
angular/angular.js#4557

So, kindly update code to avoid this Warning. Thanks

@sophiebits
Copy link
Collaborator

Dupe of #527.

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

No branches or pull requests

3 participants