Multiple notifications when using with Olivero after updating to Drupal 10.3

Created on 28 August 2024, 7 months ago
Updated 17 September 2024, 7 months ago

When using views Infinite scroll with Olivero theme, there appears to be a couple of issues.

1. Multiple messages are shown when starting to scroll the page.

e.g. if I have antibot enabled to output the form id in the notification region, when using views infinite scroll, once I start to scroll multiple messages are shown.

I am not sure, but I did some investigation and it is possible the amount of messages may correlate with the amount of pages.

At first I thought this might be an issue with the Olivero theme. While there appear to be some issues with Olivero, I could not find any cause there. In fact this seems to work reasonably well with a normal view with ajax pagination enabled (see screenshots)

2. Not sure if this is a specific issue with Views infinite scroll, but one issue I have noticed is the message notification seems to be out put in the allotted notification block and region on page load. After that the messages appear to be inserted at the top of the views.view page or main content that is also a contextual region.

By the way this works perfectly well in my own theme (1 not 2), so it does seem odd that that I am getting this issue with Olivero. One thing I have noticed is Olivero's implementation appears a little different to say Claro. In Claro notifications are the same type are output separately, while Olivero seems to combine the notifications together.

This being a core theme, it would be good if it worked with Views Infinite scroll. It would also be curious to know why this appears to be broken with this specific theme.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom 2dareis2do

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

Comments & Activities

Production build 0.71.5 2024