Jump to content

Google ads interferes with content view behaviour


Recommended Posts

Hi everyone,

I've recently added Google Ads to my community (that was ... fun).

It appears to be interfering with the Content View Behaviour:

Could contain: Page, Text

On a mobile device, when you click a topic link the page loads and starts to auto-scroll to where it's supposed to go, but then the Google anchor ad appears at the top and it stops scrolling almost immediately, breaking the behaviour.

Can anybody point me in the direction of the code that I can look at in order to try to rectify this? Where is the function that "takes me to the comments I haven't read".

I get the feeling it's not going to be as easy as adding a setTimeout but a man can hope 😄 

Thanks for any help.

Link to comment
Share on other sites

This is really something you would need to report to the ad provider. If ad code is added and is then breaking anchors, I would almost be tempted to say even to report this as a bug in the browser, to be honest. The reality is, an anchor is simply a location in which the page is told to go to when that anchor point is added to the URL. So if its not doing so, the browser ultimately is what is supposed to do this

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...