- Issue created by @shevgeny
Incorrect behavior of ad blocks and views when certain ajax events occur on the page, for example when loading content through Views Infinite Scroll.
1. Install and configure SimpleAds (displaying one ad when the page loads)
2. Install and enable
Twig Tweak →
3. Install and enable
Views Infinite Scroll →
4. Display some content through views with a pager like Infinite Scroll
5. Embed a twig template code like {{ drupal_view('simpleads', 'ads_example') }}
, for example, inside: {% if loop.index == 1 %} {{ drupal_view('simpleads', 'ads_example') }} {% endif %} ...
6. Open the views page and observe the ads. All ads (including those loaded previously) will randomly refresh when new content is loaded.
Active
2.0
Code