• Hi,

    The scroll to id function is working on the website, but not working when inside a webview (I only tested the instagram webview). Is there any thing I can do to fix it?

    Thanks

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author malihu

    (@malihu)

    Hi,

    Can you explain a bit more the issue? How does instagram webview work? Which platform you’re testing?

    Thread Starter santosglucas

    (@santosglucas)

    Hi @malihu !

    Im testing it on android. I’m not sure how does it work, I just access my link in the bio ( https://stylebar.net.br/seja-franqueada/ ) and it opens in a browser inside instagram. The “SAIBA MAIS” Button should scroll down to the form, but it doesn’t. If I test it on chrome in my cellphone, it works just fine.

    Plugin Author malihu

    (@malihu)

    I see. We’ll need to do a test but you’ll need to manually edit the file(s). Can you do this? If yes, try this:

    1)Edit your WordPress wp-config.php file (it’s in your site’s root dir) and add the following in a new line before the /* That's all, stop editing! Happy publishing. */ comment:

    define('PS2ID_MINIFIED_JS', false);

    Save the file.

    2)Edit plugin’s jquery.malihu.PageScroll2id-init.js file (it’s inside js dir inside plugin’s page-scroll-to-id folder). Add the following in a new line after line 173:

    ,inIframe: true

    Save the file.

    Test and let me know

    Plugin Author malihu

    (@malihu)

    @santosglucas Hey! Did you manage to test the changes I posted above? Let me know when you have ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin not working on Instagram Webview’ is closed to new replies.