The views-infinite-scroll-content-wrapper wrapper is applied no matter view has or no results, as consequence rows variable is not empty so view empty area is not displayed.
See example from Classy theme views-view.html.twig template:

{% if rows %}
    <div class="view-content">
      {{ rows }}
    </div>
  {% elseif empty %}
    <div class="view-empty">
      {{ empty }}
    </div>
  {% endif %}
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sdstyles created an issue. See original summary.

sdstyles’s picture

Sam152’s picture

Status: Needs review » Reviewed & tested by the community

Works as expected.

Sam152’s picture

Status: Reviewed & tested by the community » Fixed

  • Sam152 committed a138820 on 8.x-1.x authored by sdstyles
    Issue #2701881 by sdstyles: View "No results" area doesn't appear even...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.