• Hello Ajax Search Lite Support.

    I like the plugin quite a lot. I hope you can help with one odd behavior.

    I have placed a shortcode in an elementor popup window. I then link to the popup from the site header. In the header I have both a magnifying glass icon and also the word “Search.” Both the icon and the Word individually link to the popup, and clicking either link executes the popup properly.

    The issue is that the Ajax Search Lite functionality in the search box within the popup only works when linked from the icon. When linked from the word “Search,” typing in the search box produces no effect, and the search button is not active.

    Can you help me to resolve this? And also help me to understand why the same popup would behave differently when triggered by a link from these two different elements?

    Is this a Jquery issue in some way? Have you rewritten the Ajax Search Lite to be JQuery free as suggested in a previous topic?

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi,

    It is not a jQuery issue, but how Elementor handles the popups in some cases.

    Sometimes, when opening/closing the popups, the contents get copied from a different node, so all the javascript event handlers get detached during that process – meaning any item placed into the popup (which has direct event handlers attached) will no longer work.
    I am not sure why they use this approach, it is discouraged, but I’m sure they have their reasons.

    Anyways, you can try turning on this option: https://i.imgur.com/BBHRTs6.png
    In most cases it does the trick, as it tries to detect node changes.

    I am still working on the jQueryless migration – it is a slow process, as I need to maintain other plugins as well – it has a better handling for these cases.

    Best,
    Ernest M.

Viewing 1 replies (of 1 total)
  • The topic ‘Search link from header conflict with Elementor popup’ is closed to new replies.