Swipe Problem with blank menu area
-
Swiping from left to right creates a blank area on desktop screens (when hamburger menu is not visible). To workaround this with jQuery disable swiping when hamburger menu is not shown:
jQuery(document).ready(function($) { if( $('#wprmenu_bar').is(':hidden') ) { $('body').swipe({ swipe:function(event, direction, distance, duration, fingerCount, fingerData) {} }); } });
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Swipe Problem with blank menu area’ is closed to new replies.