Click for closing popup
-
Hi,
With latest release, I notice that a click on cross (or even, outside the popup) for closing it, has got a strange effect: after that, browser is displaying the bottom of the page.
Expected behavior: the page remains at its viewing level.I don’t know if I am clear enough:
I’m on the top of page (or in the middle), popup arrives, I close it (with cross, or by clicking outside) >> browser closes the popup and goes to the bottom of page.Has anyone experienced this before me ?
Thanks a lot.
Best regards
-
Hi @joy0114,
I’m not able to replicate such a behaviour when tested. Possible to give a quick test by temporarily disabling all the plugins except Hustle and with a default WP theme to see whether you could replicate the same issue or not?
You could use a staging site to test the above behaviour. If the behaviour is still the same then possible to share the page URL where you are able to replicate the issue, so that we could check further?
Looking forward to your response.
Best Regards,
Nithin
Hi Nithin,
Thanks for your answer.
Yes, I’m going to make a staging site, because I really don’t understand where this comes from.
If you have time for experimenting …
my websiteHustle popup can be viewed on any page, but keep attention to select language “FR” in the menu. No popup are enable for english language.
The popup is triggered with 40s on page, or, more easy: exit intent.On my side, I haven’t got “bad” message in firefox or Brave console.
Thanks if you have an idea.
On my side I will make a stage website.Best regards
I’m having the same behavior. Clicking the close button, or outside the pop-up when set to close it, jumps to the bottom of the posts main content section. It doesn’t jump to the bottom of the entire page for me, but to the bottom of the content. This is only happening on single post pages, not the home page.
I am getting this behavior on pop-ups and slide-ins.
I do not have the pop-up or slide-in active on pages, just posts, so I can’t say if it is behaving the same there.
Well … It seems to be an incompatibility with Astra theme.
I use a child theme derived of Astra 4.1.3, with latest Hustle 7.7.0
Parent theme (astra) also shows an issue.
Theme “Twenty Twenty three” does not show this behavior.Perhaps some others users noticed that…. and have an idea to solve it …???
Thanks a lot !
Best regardsHi davereed,
I posted my answer at exactly the same time you did, so I just see it now.
You’re right: that’s not exactly the bottom of page. As you say, the bottom of content, just before footer of page.
I made some other tests: same behavior with theme “storefront”, so Astra is probably not the culprit.
As for me, I don’t use posts, just wordpress pages and woocommerce pages (products and so on). This issue appears everywhere.Hi,
After lots of tests, I finally decide to downgrade Hustle to 7.6.6
With this release, no problem.Best regards
Hi @joy0114
Thank you for the update.
Can you confirm if you are using Astra Free or Pro?
I tried to replicate using the Free version but it worked well https://patrickfreitas.net.br/
Can you also export your Hustle Module https://wpmudev.com/docs/wpmu-dev-plugins/hustle/#module-dashboards and share using Google drive?
@davereed Can you confirm if you are also using Astra or a different Theme?
Best Regards
Patrick FreitasHi Patrick,
To solve this problem, I made a clone of my site and here is what I see:
*** Astra theme (free) + Astra Pro Activated: the problem is present.
*** Astra theme (free) without Astra Pro (NOT Activated): the problem is present.
*** Storefront: the problem is present.
*** Twenty Twenty-Three: No problem
The tests were performed in this order, and several times.
Between each test: complete purge of every cache of Litespeed server (css, js, html, opcache…). But, anyway, if Litespeed was the culprit, there would also be a problem with the theme “Twenty Twenty-Three”.
The exports shows strange releases, but why not.
"plugin": { "name": "Hustle", "version": "4.6.6", "network": false },and:
"plugin": { "name": "Hustle", "version": "4.7.0", "network": false },Here, you can see the two exports (the one which works, the one which not works):
https://toce54.a2.swdrive.fr/index.php/s/LyM3RgDMARx2MJmIf necessary, I can give you an access to my staging website, for testing purposes.
Thanks for your attention.
Best regardsI am not using Astra. I also had the behavior when I put the site into troubleshooting mode.
Hi @joy0114
We may need to perform a further check on this issue. Wouldn’t you mind please sending an email to:
Using the Subject:
ATTN: WPMU DEV support - wp.orgEmail body: https://ww.wp.xz.cn/support/topic/click-for-closing-popup/
@davereed
We really want to help you with this issue. The wp.org forum rules ask to not spam the thread starter, could you please create a new ticket so we can take a deeper look at your site? Please access the link below to create it.
https://ww.wp.xz.cn/support/plugin/wordpress-popup/#new-topic-0Best Regards
Luis
Hi There
We found a similar situation where the scroll happens when we have the Hustle > Embed on the same page of PopUp so when we close the PopUp the Embed fields are getting the focus causing the scroll.
Could you try the updated version with Hustle > Embeds disabled and see if the issue is gone?
We already reported this to our developers.
Best Regards
Patrick FreitasHi Patrick,
You exactly found the issue !
I use embed on every page (at the bottom), and with release 7.7.0, if I unable embeds, popup does NOT have any problems: no scroll on bottom.
But, I would really like to keep the embeds… Do you think this problem could be solved ?
Thank a lot for having paid attention to my report here.
Best regardsHi @joy0114
Thanks for your patience, and apologies for the inconveniences that you are experiencing with Hustle.
Our development team has provided a code snippet that should solve this issue. The code can be found here:
https://gist.github.com/wpmudev-sls/d883de23962ad810166214e1233d07abYou’ll need to upload the hustle-scroll-fix.php file to the wp-content/mu-plugins folder, try this in a staging site first if possible. If everything is working fine on the staging site, then you can upload that hustle-scroll-fix.php file to the production site. You can find more information about MU Plugins and how to install them in the following help article:
https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins
Could you please confirm if that solves the problem?
Kind regards
Luis
Hi Luis,
YES ! This mu-plugin solved the issue !
I tested it on staging website in exactly same conditions, and it works like a charm, as well as before.Thanks a lot for your work.
Best regards
The topic ‘Click for closing popup’ is closed to new replies.