Yücel Okçu
asked 10 years ago

Left menu shows up on a mobile device with a slightest gesture from left to right. It even shows up when trying to carefully scroll up and down. I’ve tried to search the javascript files to disable the feature, since it is really annoying when trying to browse the site on mobile device, yet I couldn’t find it(maybe it is in the minimized code?) Is there any way to disable it?

2 Answers
Yücel Okçu
answered 10 years ago

On a second look, I’ve found the answer myself. Touch events are handled in functions.js file. Left and right swipe events can be disabled by commenting out the lines starting with the following line. Don’t forget to put a semicolon just before that line to terminate the previous chain function.

  .on('dragleft dragright release swipeleft swiperight',function(event) {
Kido D
replied 10 years ago

Perfect! Glad you able to resolve it. We’ll put it in the next version of the theme.
Thank-you!

Kido D
answered 10 years ago

Hi there,
I’m afraid I’m a little confused on the question: The left menu gesture on mobile? Can you please send us a screenshot about the issue? Thanks!

Yücel Okçu
replied 10 years ago

I’m talking about the left drawer menu on mobile view. It pops up when you swipe your finger on from left side of the screen to right hand side.

Powered by DW Question & Answer Pro