Support » Plugin: Ajax Search Lite » elementor bug with popups

  • Resolved traderex

    (@traderex)


    Hi there,

    the popup feature of elementor breaks your plugin. In the popup field the search cannot be used. It will not show any ajax results and I cannot press search also.

    Any advice?
    kind regards,

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi,

    Sounds like a stylesheet/z-index issue, but I am not able to tell only by description unfortunately. Do you have a pop-up on your site where the plugin shortcode is used? Let me know and I will check it out.

    Best,
    Ernest M.

    Hi

    I set the Z Index to 9999 before posting but this did not help.
    You can see the popup if you press on the 3 white bars in the top right corner. I cannot send a link to the popup directly.
    https://www.brokercheck.de

    Thanks πŸ™‚

    Plugin Author wpdreams

    (@wpdreams)

    Hi,

    The issue is something else actually. The pop-up click changes the DOM structure of the search, as it is detached from the document, and so the script handlers no longer work. The only way to try to resolve this is by using a custom code.

    Try adding this custom code to the functions.php in your theme/child theme directory. Before editing, please make sure to have a full site back-up just in case!

    add_action('wp_footer', 'asl_init_on_click');
    function asl_init_on_click() {
      ?>
      <script>
      jQuery(function(){
        $('.elementor-icon-wrapper').click(function(){
          setTimeout(function(){
            ASL.initialize();  
          }, 1000);
        });
      });
      </scrip>
      <?php
    }

    This might do the trick.

    Best,
    Ernest M.

    Hi,
    I implemented your custom code but now the popup won’t open,
    any fix? I still have it live πŸ™‚
    Kind regards

    Plugin Author wpdreams

    (@wpdreams)

    Hi,

    It was just a minor syntax error in the previous code, try this instead:

    add_action('wp_footer', 'asl_init_on_click');
    function asl_init_on_click() {
      ?>
      <script>
      jQuery(function($){
        $('.elementor-icon-wrapper').click(function(){
          setTimeout(function(){
            ASL.initialize();  
          }, 1000);
        });
      });
      </script>
      <?php
    }

    Best,
    Ernest M.

    seems to work fine now πŸ™‚
    Thank you very much!

    Plugin Author wpdreams

    (@wpdreams)

    Neat πŸ™‚ I marked this as resolved now.
    Feel free to rate the plugin if you like it, it’s greatly appreciated.

    Same problem here.
    I’ve tried to put this code on a code snippet plugin but nothing happened
    I can’t let it activeted to show you
    It probaly not working because my popup configuration is different:
    – It appears only in woocomerce pages
    – appear after 6 seconds
    – show only when arriving from search engines and external links

    Hi!
    I try to add a popup for each profil detail of my team page but the popup does not open fully (= just a white stripe appears) at the first load, I have to reload the page so that the popup opens with my full content. can you help me ? you can see the case on the page fastuppartners.ovh/whoweare
    Thanks for your help πŸ˜‰

    After switching to another server, a popup created with Elelementor pro can no longer be opened with Elementor. It works fine – but you cannot open it with Elementor to change it. What ca I do?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘elementor bug with popups’ is closed to new replies.