I have a simple jQuery slidetoggle activated on button click. I notice on Google Chrome on a HTC One M8 (Probably Chrome issue on Android in general) the opened or 'toggled' div will automatically close when I stop scrolling. Is this some kind of a feature or a bug?
var jq = jQuery;
//Page resize hide & show
jq(window).resize(function() {
var width = jq(window).width();
newWidth = jq(window).width();
if ( newWidth >= 980 ) {
// Do something
} else {
// Do something
};
});