Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've been working on optimizing my site and discovered the options in "/admin/config/development/performance". When I enable "Aggregate Javascript Files", my compact forms no longer appear as compact. The labels instead appear above and to the side of the field, and do not disappear when the field is clicked on. I think this may be where they appear if the module is disabled. If it matters, I'm using it for a couple of views exposed filters.
Comments
Comment #1
babbage CreditAttribution: babbage commentedCan't reproduce on my site. Working fine with JS aggregation on.
Comment #2
mrweiner CreditAttribution: mrweiner commentedTurns out that in actuality, none of my javascript files were being read after enabling aggregation. Turns out it's because of some weird file compression features of Litespeed servers. If anybody else lands on this issue trying to solve the same problem, check out post 5 in https://drupal.org/node/1440534.
Comment #2.0
mrweiner CreditAttribution: mrweiner commentedClarification
Comment #3
iwuv CreditAttribution: iwuv commentedComment #5
namjoo CreditAttribution: namjoo commentedhi
i am for resean install jquery_update and get this problem.
i uninstall jquery_update module and solve it.
(drupal 7)
Comment #6
Niek_Kloots CreditAttribution: Niek_Kloots commentedI disabled the jquery_update module and could enabled the Aggregate JavaScript files on /overlay=admin/config/development/performance again.
The jquery_update module is also the cause for Superfish module malfunctions.
Comment #7
Sachin_D CreditAttribution: Sachin_D as a volunteer commentedI have integrated the react with drupal as a custom module, when I enabled the aggregate javascript files in drupal 9 config, the react component in UI is not displaying.
I suspect that the file app.bundle.js is minified twice, so that the issue is coming, when i tried to disable the minification for this file in react module library file, then also i can see this issue, if i disable the aggregate the javascript, then only see the react component.
Any help much appreciated