Alter views infinite scroll behaviour that adds an additional div
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3568886. -->
Reported by: [pameeela](https://www.drupal.org/user/1431110)
Related to !21
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>We are adding an additional CSS grid to sections for view content, which adds classes to <code>.view-content</code>. This breaks for views using infinite scroll, because it adds an extra div wrapper below, so the grid on the view-content div doesn't do what we want.</p>
<p>If we can alter the infinite scroll behaviour to add these attributes to the main view-content div, then we can maintain this functionality.</p>
issue