Views exposed container shows up on every view regardless of if it is using exposed filters

Created on 29 December 2023, 6 months ago

Problem/Motivation

All views have the exposed views container show up regardless if the view is using exposed filters or not. If themes have an explicit style around exposed filter div, then an empty box shows up on top.

Steps to reproduce

1. Turn on the module
2. Go to any view that does not have an exposed filter
3. Inspect the code and see that the views exposed filters div shows up

Proposed resolution

not sure yet.

We are currently correcting this by editing the the template in views-view--page.twig

we are changing

{% if exposed %}
to
{% if exposed|render|trim %}

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States sascher

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024