• Hi, and many thanks for your plugin that I use a lot of years.

    Unfortunately, I have to report that although calculation the size and positioning works well on desktop it’s completely disaster on mobile.

    You can try it making any popup what’s width slightly less then viewport.

    It’s absolutely easy to position popup correctly with the css only that I do, but the crooked plugin’s JS calculations wide the logical viewport so the site become ugly.

    The problem is that it’s imposible switch off this functionality/ Even if to set “Popup location:” off and “Dimensions” switch to “Custom mode” and set sizes.

    I believe that the best solution is to rid off the JS calculations for CSS alignment but we need a button that switch off such calculations at all IMMEDIATELY!!

    I mean that the “div#sgpb-popup-dialog-main-div-wrapper div.sgpb-popup-dialog-main-div-theme-wrapper-6” should rid off left and top stylings!!!!!

Viewing 1 replies (of 1 total)
  • Thread Starter Alexander Guskov

    (@forcesail)

    Settings:
    Popup location: off
    Dimensions: width: 300px; max-width:300px; min-width:250px

    Result:

    1. <div id=”sgpb-popup-dialog-main-div” style=”
      min-width: 250px;
      max-width: 206px;
      width: 276px;
      I believe that you see the problem
    2. <div class=”sgpb-popup-dialog-main-div-theme-wrapper-6″ style=”z-index: 999910; position: fixed; left: 9.5px; top: 212.5px;”
      It’s imposible to have left:0. It calculates all the time even when the location setting is off.

    If popup has blocks that calculates (flex or cqi) dimension depends of the outer (popup) size it becomes ugly.
    The Dimension calculations don’t take in mind the close button.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.