Support » Plugin: Brave - Create Popup, Optins, Lead Generation, Survey, Sticky Elements & Interactive Content » “brave_scroll_lock” not removed from body when closing popup in mobile view

  • Resolved grotlo94

    (@grotlo94)


    When I close the pop-up I have when I’m in mobile view, the “brave_scroll_lock” is not removed from body-classes and therefore locks the page to a height of 100vh.

    Tried on newest version of Firefox and Chrome.
    Used Twenty Twenty theme.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Brave

    (@getbrave)

    @grotlo94 Can you kindly share the page link where the popup is visible?

    Thanks

    Thread Starter grotlo94

    (@grotlo94)

    Plugin Author Brave

    (@getbrave)

    @grotlo94 Just checked with Chrome on Windows and it works fine. After closing the popup, I was able to scroll the page. Are you using any kind of browser extension that might cause this issue? Can you try opening the page in an incognito window?

    Thanks

    Thread Starter grotlo94

    (@grotlo94)

    My browsers, Firefox and Chrome, both have fresh installs. I also tried it in incognito mode and on my browser on my phone, with the issue still persisting.

    I’ll try to explain as extensively as possible the steps to reproduce:
    1. Open the page with the “Toggle device toolbar”-mode/”Responsive Design Mode”. Or from a phone.
    2. Reload the page and close the popup and try to scroll down. If you’re able to scroll, you should see rows of text saying “Stretch page” and eventually a footer and a google maps iframe. When closing the pop-up, “brave_scroll_lock” is still a class on body, so I have only 100vh height.

    Going from desktop size to mobile view doesn’t reproduce the problem. It only happens from a fresh load from mobile view.

    The “brave_scroll_lock” happens when the screen is below 760px wide

    • This reply was modified 8 months, 3 weeks ago by grotlo94.
    • This reply was modified 8 months, 3 weeks ago by grotlo94.
    Plugin Author Brave

    (@getbrave)

    @grotlo94 Thanks for clarifying its only happening on mobile devices. We were able to find the issue and fix it. We will release an update within 2 weeks which will fix the issue.

    If its urgent and you want to edit a plugin file to fix the issue, let us know and we will let you know what file and how you can edit to fix the issue.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘“brave_scroll_lock” not removed from body when closing popup in mobile view’ is closed to new replies.