• Hi, I’ve asked this before but didn’t get a response. I haven’t been able to find an answer anywhere else either so I thought I’d try again:

    I use the “on element click” to trigger the install prompt but it takes around 11 seconds before that button becomes active.
    What’s weird is that my page load is fairly fast: (https://www.webpagetest.org/result/210105_Di5F_1f6e74fa87d27924a43a40919dc4ba39/2/details/#waterfall_view_step1).

    Also: as soon as the page renders (1.5s) I can click in menu and add to home screen and that works immediately.

    It’s just the “on element click” that seems to take forever to become active.

    Is there anything I can do to change this?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nico Martin


    Hi @luandrn

    Are you still using progressive WordPress? I just wanted to take a look but I don’t see the custom install prompt.

    Kind regards,

    Thread Starter luandrn


    Hi Nico thank you for the response.
    I decided to go with the “popup” that instructs you to click the menu and then click install app. Seeing as this is already how I have to do it for IOS I decided that its not the worst work around.

    I converted my site to a static site with simply static and for some reason the Service worker doesn;t work when I do that. So I tested all the PWA plugins available and foun one where I can download the service worker js file and add it to the root of my static site and that seems to work. But unfortunately I couldnt get Progressive WP to work.

    If you know how I can get it to work I ould gladly switch back – the new PWA turns my app icon into a round shape which isn’t ideal.

    Plugin Author Nico Martin


    Hi @luandrn

    Progressive WordPress uses a dynamic ServiceWorker so it can dynamicly adapt to different scopes.

    I opened an issue for this: https://github.com/SayHelloGmbH/progressive-wordpress/issues/65

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘On element click load’ is closed to new replies.