Improvement in Modal Popups

Posted in: Newspaper
Post count: 221

Hi,

When the button trigger option is set for modal popup, all the files related to modal like html, css, js, images are loaded even if the user hasn’t clicked the button yet. I have found this through network tab of browser inspect elements (developer options).

This is a very unoptimized implementation of this functionality. What if the user never clicks the button to trigger the modal? All the resources loaded for no reason and put unnecessary burden on the server.

The current implementation might make sense for modals that are triggered by pageload, cursor, and scroll. However, for button triggers, I think the ajax would be a much better and optimized option.

If you think the current set-up is perfect, you can at least give us the choice to choose the ajax method if we want like you did with live search option in previous updates of the theme. Feel free to ask for more information.

I hope developers consider this request. I’d be thankful.

Good day.

Post count: 35449

Hi,
Thank you for the suggestion.
Indeed, when the popup element is used only on the button, your suggestion is a very good one because it would optimize the site and it would load faster.
I sent your suggestion to the developers and I hope it will be implemented soon.
Thank you for your suggestion!

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.