• Resolved krishs

    (@krishs)


    hi team,

    I have an issue with the product popup when we click on add button. I want to close the popup if we click anywhere outside the popup, but currently, it’s not working like this. currently, some popup closes by clicking the top side or some by clicking the bottom side, but I want if I click anywhere outside the popup then the popup should close.
    how can I achieve this?

    please help ASAP.

    thanks in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author WP Scripts

    (@wpscripts)

    Hello @krishs

    I can confirm that the pop-up can be closed by clicking anywhere outside the popup area. You can check it on our demo site as well.

    http://food-store.wpscripts.in/our-menu/

    DO share your URL if you think it’s not working on your website.

    Regards,
    Team WP Scripts

    Thread Starter krishs

    (@krishs)

    @wpscripts thanks for the reply. but it’s not working on my site. please check https://snsdelivery.in/

    Plugin Author WP Scripts

    (@wpscripts)

    Hello,

    I can confirm that it’s working fine on your website as well.
    https://www.awesomescreenshot.com/video/3842942?key=f9068dbd16c53c17ea73d9f1d9f50d80

    Regards,
    Team WP Scripts

    Thread Starter krishs

    (@krishs)

    as you can see we can’t close the popup on clicking top and for some products like variable product if you click on the bottom side like center bottom or bottom right side then it is not working.

    Plugin Author WP Scripts

    (@wpscripts)

    Hello,

    The modal has a specific area which are clickable, if you click extreme bottom or extreme top, only those area are not working. Still a lot of spaces are there to click.

    If you want to minimize those areas as well, you can add the following css to customizer.

    .wfsmodal-dialog {
        top: 0 !important;
        bottom: 0 !important
    }

    Hope this resolves your problem.

    Regards,
    Team WP Scripts

    Thread Starter krishs

    (@krishs)

    thanks for the solution. it works.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘pop up close’ is closed to new replies.