I am unable to make use of the .scroll method of jQuery while including Google's Material design. I have used Material Design Lite to make navigation bar of site.
If I exclude/remove material.min.js, then scroll method on window works perfectly. My simple jQuery code is this:
jQuery(window).scroll(function () {
console.log("scrolled");
});
Here is the JSFiddle http://jsfiddle.net/wwjoxtvp/2/
And here is codepen:http://codepen.io/MustagheesButt/full/PqBYop/
How can I get jQuery working without removing material design? Maybe some conflict is occurring, but console is not showing anything.