You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was thinking the same thing last night.
I ended up mod. the jqm.slidemenu.js
I updated the swipeleft and swiperight event
$(document).on("swipeleft swiperight",".ui-page-active", function(e){
//console.log($(".ui-page-active :jqmData(slidemenu)").data('slideopen'));
//console.log('b');
if ($(".ui-page-active :jqmData(slidemenu)").data('slideopen')){
e.stopImmediatePropagation();
e.preventDefault();
slidemenu(sm, sm.data('slideopen'));
}
});
if you don't want to change the slideopen, u can add your own tag, such as "swipeopen"
and in the #slidemenu in your html just add the custom tag you added.
It doesn't seem to matter when you slide left or right. If the sliding menu is open and you slide right it closes (which it shouldn't)
Vice versa with the left swipe
Kind regards,
The text was updated successfully, but these errors were encountered: