Enabling JS aggregation breaks our admin workflow

Created on 15 November 2023, 8 months ago
Updated 22 November 2023, 7 months ago

Problem/Motivation

Switching core from 9.5.10 to 10.0.11

When enabling JS aggregation under Configuration > Performance > Development

There are two notable things that start failing:
- On some pages the horizontal bar that has all of our admin options e.g. Content, Structure.. is no responding to hovering on and no longer drops down options. You can only click to open the page. It seems to get stuck and when scrolling it is floating.
- The dropdown button widget (operations) for content stops working, and shows all available options rather than the dropdown.

I've attached images of the issues and surrounded subject areas with red boxes.

I have tried multiple themes.

Steps to reproduce

Switch our core version from 9.5.10 to 10.0.11

💬 Support request
Status

Postponed: needs info

Version

10.0

Component
Asset library 

Last updated 3 days ago

No maintainer
Created by

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

Comments & Activities

  • Issue created by @simon2d
  • Status changed to Postponed: needs info 8 months ago
  • 🇺🇸United States cilefen

    Drupal 10.1 aggregates assets differently. Try it. Are there browser console errors?

  • Thanks for your comment @cilefen

    This is on 10.0.11, not ^10.1. Would it still apply?

    I am not seeing any console errors related to the above.

    Thanks

  • 🇺🇸United States cilefen

    Drupal 10.1 introduces a new aggregation system. Perhaps it will fix your problem. Drupal 10.0 will be supported for only about three more weeks anyway.

    Besides that, if there are no console errors then we need complete steps to reproduce the bug. Otherwise this is a bit mysterious and no one will be able to help you.

  • 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10

    The release notes for 10.1 have details for updating configuration if you're using nginx

  • 🇺🇸United States nicxvan

    Also check that any libraries you're adding that are minified are marked as minified. The old pipeline would just skip minified files that were not marked as minified. The new system will fail.

    Once I added minified true to them I could turn on aggregation again.

  • 🇮🇳India ushma

    I am facing the same issue for drupal 10.1. Were you able to resolve it ?

Production build 0.69.0 2024