Blocks containing a view with a pager never get initially collapsed

Created on 7 March 2025, about 1 month ago

Problem/Motivation

When a block should be collapsed after initial page load, but it contains a pager, then the collapsing is missed. This is because the active page indicator in the pager is a link with the is-active class and that's excluded from being processed.

Proposed resolution

Ignore active links that also have the pager__link class.

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024