• Hi
    I had a strange problem with my site.
    In some browsers on mobile when the user touch any element on the page (just first time) suddenly the page jump to the top and after that user can click elements.
    I spend so much time to debug the problem and finally figured out that in the maxmegamenu.js file on line 553, {“height”: “hide”} is the problem!
    I don’t think we have a height: hide in css and in chromium browsers it create this behaviour.
    currently i comment this code and every thing works fine
    `$menu.animate({“height”:”0″}, plugin.settings.effect_speed_mobile, function() {

    but I don’t think commenting on this part is reasonable so if there is a better way please inform me.
    thank you

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

    (@megamenu)

    Hi inscrutable01,

    Please could you post a link to your site so I can take a look?

    As a workaround, rather than commenting out the line, you could set the Effect (Mobile) to “None”. That will bypass the line of JS that you have commented out.

    Regards,
    Tom

    Thread Starter inscrutable01

    (@inscrutable01)

    Hi Tom,

    thanks for your solution , set the effect to none fixed the problem
    still I uncomment the code and add the effect to slide so you can check the problem in this link : https://nivamall.com/product-category/digital-product/mobile/page/2

    if you checked please inform me to change effect to none again

    Regards

    Plugin Author megamenu

    (@megamenu)

    Hi inscrutable01,

    Thanks.

    I am confused as the toggle bar is from max mega menu, but the contents of the slideout panel are from your theme (or somewhere else). So it seems the toggle bar triggers a different slide out panel (not our one).

    As the sub menus within the slideout panel don’t slide anyway (they just show and hide with no animation), it should be safe to simply leave the effect set to None if that fixes the issue.

    Regards,
    Tom

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘page jump on touch in chromium browser’ is closed to new replies.