• Resolved amedic

    (@amedic)


    Hi,

    first of all great plugin!
    But, when popup opens it whole site in the background moves to right, and than moves to left when popup is closed.
    I realize that this is because the scroll, but how can this be fixed?

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • @amedic

    Thank you for the compliments!

    This is a known issue that happens we scrollbars are transitioned from the website to the popup. We’re still looking for the most elegant way to fix this.

    In the meantime, you can give this a try:

    html.pum-open.pum-open-overlay.pum-open-scrollable body>[aria-hidden] {
        padding-right: 17px;
    }

    The default value here is 15px, but I’ve set my personal setup to 17px because that prevents this shifting in my case. Yours may be different, so you’ll have to trial and error it.

    To prevent the scrollbar “flashing” that is sometimes experienced, use this snippet.

    .pum-overlay {
        transition: all .25s ease-in-out;
    }

    These solutions aren’t guaranteed to work yet for every setup, but let us know what kind of results you’re able to get.

    Hope that helps!

    Thread Starter amedic

    (@amedic)

    Hi @waltmesser,

    thank you for your prompt help.
    I tried your suggestions, but unfortunately it didn’t make any difference.

    Thanks anyways.

    @amedic

    Sorry it didn’t work. Like I said, we’re looking into this issue and how we can work around it. We’ll be sure to update you as soon as a fix goes live.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Moving to right upon opening and reverse on closing’ is closed to new replies.