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

Preventing form submit event throws mdl error #2

Closed
abir-taheer opened this issue Feb 13, 2019 · 1 comment
Closed

Preventing form submit event throws mdl error #2

abir-taheer opened this issue Feb 13, 2019 · 1 comment

Comments

@abir-taheer
Copy link
Owner

Triggering event.preventDefault through JQuery listener successfully stops submit, but MDL throws error in the console.

Uncaught TypeError: Cannot read property 'classList' of null
at S. (material.min.js:9)

Doesn't affect site functionality, but find the cause of the error and try to prevent it.

@abir-taheer
Copy link
Owner Author

issue doesn't have to do with form, but mdl not succeeding to handle the ripple on the newly inserted elements. Ripple feature has been abandoned

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