Mobile Panel off-canvas: el scroll de la lista se traspasa al fondo de la página

This topic has 2 replies, 2 voices, and was last updated 1 month, 2 weeks ago ago by Jack Richardson

  • Avatar: baitech
    baitech
    Participant
    August 22, 2026 at 05:26

    Hola,

    Estoy usando el Mobile Panel de XStore (widget “Mobile Menu” del Header Builder, con el ítem tipo WP Menu configurado para mostrar categorías del catálogo). El panel se abre correctamente en mobile y muestra una lista larga de categorías con scroll interno propio.

    Síntoma: al deslizar (swipe) dentro de la lista de categorías del panel para hacer scroll, el gesto se traspasa a la página de fondo (la Home) que queda detrás del overlay — se ve la Home scrolleando/deslizándose visible detrás del panel semi-transparente, en vez de quedar completamente bloqueada mientras el panel está abierto.

    Probado en: iPhone y Android, navegadores nativos (Safari/Chrome), no en simulador de escritorio — el bug se reproduce en dispositivo real.

    Lo que ya probé sin éxito: agregar overscroll-behavior: contain al contenedor .etheme-elementor-off-canvas-content, y un script propio que aplica position: fixed al body detectando cambios en el atributo aria-hidden del elemento .etheme-elementor-off-canvas__main. No resolvió el problema — sospecho que el scroll de fondo no depende del body de forma estándar, o que hay otro contenedor/wrapper involucrado que no estoy identificando bien desde afuera.

    Pregunta: ¿El tema tiene algún mecanismo nativo de scroll-lock para el off-canvas Mobile Panel que deba estar activado en alguna opción, o hay un selector/clase específica que deberíamos apuntar para bloquear correctamente el scroll de fondo mientras el panel está abierto? Cualquier snippet o guía que puedan pasarme sería de gran ayuda.

    Quedo atento, gracias.

    Files is visible for topic creator and
    support staff only.
    1 Answer
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 26, 2026 at 06:15

    Hello @baitech,

    We apologize for the delay in responding.

    It seems that you are experiencing a scrolling issue when the mobile menu widget is opened, and you need to “lock” the scroll in such cases. Could you please try using the following custom CSS snippet in your Theme Options -> Theme Custom CSS -> Global CSS and then check:

    body.etheme-elementor-off-canvas--shown {
        overflow: hidden;
    }

    If you still require our assistance, we kindly request that you provide us with a video of the issue so that we can better understand your request and assist you accordingly.

    Best Regards,
    Jack Richardson
    The 8Theme’s Team

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.