• I use the css that you recommend to hide the slide panel on mobile but when open in cellphones in mobile I’m getting this pop up warning:

    MojoPlug Warning:This page contain element(s) blocking visibility of the right slide panel. To fix this problem, find and remove overflow:hidden directive(s) from parent HTML elements

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author More Karvonen

    (@qumos)

    That warning indicates a real problem…. or not. I should actually write some code to take the notification away, when needed.

    Meanwhile, if you want and can, you can modify the mojo-sp-public.js file yourself. It’s in the public/js folder. Remove the lines 69, 70, 80 and 81. In other words, you should take away the “if” line and the following “alert” lines:

    if (!element.isVisible())
    alert(‘MojoPlug warning: This page contains element(s) blocking visibility of left Slide Panel. To fix the problem, find and remove overflow:hidden directive(s) from parent HTML element(s).’)

    Save the file. Refresh your browser. You may need to refresh the Javascript file as well (the browser may still read the file from the cache): Right click browser page -> View Page Source -> find the JS file -> open it -> refresh the file with browser refresh button.

    Sorry I have nothing better at this time. I hope this resolves your problem.

    Thread Starter ltd300

    (@ltd300)

    Thank you! Resolved!!

    Hi,
    I am getting the same pop-up but on a web page and when I delete the code you mention the panel just disappears. Do you know why this is happening or how to fix it? Thank you.

    update: so far I have changed your alert to console.log so it is working like before. it would be great if there was a permanent fix for this. Thanks

    • This reply was modified 6 years, 3 months ago by stefanayres.
    Plugin Author More Karvonen

    (@qumos)

    If the panel disappears, something is going over it. So sounds like the theme you are using have some elements which jump on the way. (It may be the z-index CSS property).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘hide on mobile’ is closed to new replies.