• Resolved uditwito

    (@uditwito)


    Hey, I am using the MAX mega menu plugin on my website and it’s great, but I have a problem that i can’t figure out how to fix.

    On MOBILE – when ever i go to a new page and click anywhere on the screen it jumps to the top of the page.

    I have checked all my plugins and the problem stops only when I disable the MAX mega menu plugin.

    Any ideas what can cause it? and how to fix it?

    Attaching a video of the problem:

    when the plugin is Active –

    Active

    When the plugin is disabled –

    Disabled

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi Uditwito,

    Thanks for posting a link. I also see the problem here (but I am not sure what is causing it yet).

    In your menu, you have a custom HTML widget that appears to contain a <html> and <body> tag. That is not correct, can you remove/fix that widget to see if the issue goes away with it?

    2020-08-17_10-55-54

    Regards,
    Tom

    Thread Starter uditwito

    (@uditwito)

    Hey, thank you for the reply!

    I have removed the <body> and <html> tags, but the issue is still not solved.

    any other ideas?

    Plugin Author megamenu

    (@megamenu)

    Thanks for trying that.

    any other ideas?

    I haven’t seen this before, and I can’t see anything obviously wrong, I’m having to guess a bit ??

    Can you try this?

    https://www.megamenu.com/documentation/keep-submenus-visible-data-document-click/

    Regards,
    Tom

    Thread Starter uditwito

    (@uditwito)

    Thank you for the help!

    That didn’t work either…but luckily i have managed to fix it, your suggestions gave me an idea and it worked.

    the problem was with z-index, i gave a z-index of 100 so it be will above everyting, but that was the cause for the problem.

    So I gave it a z-index of 0 now and the problem was solved.

    Thread Starter uditwito

    (@uditwito)

    take that back…now there is a different problem lol, clicking on the hamburger menu cause it jump to the top….

    Plugin Author megamenu

    (@megamenu)

    Hi uditwito,

    Very strange!

    I’m looking at this page:

    https://audioexpert.co.il/subwoofers/

    If I scroll down as far as “Thetis 320”, clicking on the toggle button doesn’t scroll the page (i.e it works as expected). If I scroll beyond “Thetis 320”, clicking on the toggle button takes me back to the top.

    I can’t see any obvious reason why it’s happening. To debug I think it would be best to duplicate that page and start deleting content from elementor to see if you can narrow it down to one of the elements/rows.

    Regards,
    Tom

    Thread Starter uditwito

    (@uditwito)

    Thank you for trying,

    well, I have duplicated the page, but couldn’t find anything.

    The only thing that I can tell is – 1st click on the Hamburger menu makes it scroll back to the top, but the second click won’t.

    video

    So maybe something with the menu clicks function is causing it, don’t know…

    Thread Starter uditwito

    (@uditwito)

    another thing, it doesn’t happen in FireFox browser.

    Maybe it will give you another idea what could be the problem?

    Plugin Author megamenu

    (@megamenu)

    Hi uditwito,

    In this file:

    https://audioexpert.co.il/wp-content/plugins/megamenu/js/maxmegamenu.js?ver=2.8

    Can you replace the code highlighted here:

    2020-08-19_12-24-42

    With this?

    https://pastebin.com/raw/Ajp8XX2j

    (I have added ‘e.preventDefault()’)

    Regards,
    Tom

    Thread Starter uditwito

    (@uditwito)

    Thank you very much for the help and effort!

    I am Sorry to say but it didn’t solve it too.

    Anyway, I really appreciate the willingness to help.

    Plugin Author megamenu

    (@megamenu)

    Hi uditwito,

    I’m running out of ideas here. Can you try adding this after “e.preventDefault();”?

    e.stopPropagation();

    Regards,
    Tom

    Thread Starter uditwito

    (@uditwito)

    Thank you TOM, still, it didn’t fix the problem.

    Since we couldn’t find the problem, I’ve added a different menu for the mobile version.

    Thank you for the help and effort.

    Plugin Author megamenu

    (@megamenu)

    Hi uditwito,

    No problem, sorry we didn’t get to the bottom of it but glad to hear you’ve got an work around.

    Regards,
    Tom

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Mobile problems with plugin’ is closed to new replies.