• Resolved Daedalon

    (@daedalon)


    In Events Manager 5.5.2, when searching events in AJAX (by adding define('EM_AJAX_SEARCH', true); in wp-config.php), the whole page is blocked from usage by the loading animation. It would be better if only the event list would be affected so that users can interact with the page even if one search hangs.

    Optimally no part of the page would be blocked from interaction. There could be a loading animation over the event list, but if the user wants to click an event before the search has refreshed the page, the user is disappointed if that isn’t possible.

    http://wordpress.org/plugins/events-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Thanks for your suggestion. There might be some reason why it’s done this way, but I’ll make sure Marcus sees your idea.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    normally only the part that gets reloaded will be blocked with a spinner. it may be a theme/CSS issue that’s changing where the spinner is covering.

    otherwise, you can always use CSS to hide the spinner altogether.

    the rule to create the spinner is on the first line of includes/css/events-manager.css

    Thread Starter Daedalon

    (@daedalon)

    Thanks for the tip! It seems that the issue was a CSS conflict due to workaround of a bug with Google Maps loaded inside hidden elements. As we don’t currently use those maps I removed that workaround and related CSS.

    This caused the whole default spinner to disappear. That was unexpected, but fine with us: inspecting the code I had already come to the conclusion that our desired implementation requires hiding the default one.

    We now have a loading spinner that is displayed without blocking anything, similarly to http://www.napsu.fi/matkailu/akkilahdot. Marking issue as resolved. Thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Don't block the whole page during AJAX search’ is closed to new replies.