Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293406

Dropdown buttons render as text until JS has loaded

$
0
0

Problem/Motivation

With Drupal 10.1.4, when I got to the Taxonomy listing, the buttons render as text for about 2-3 seconds before the javascript is applied. It appears to be slowness with downloading the aggregated JS file.

With aggregation turned off, this issue does not occur. Each javascript file is downloaded or cached without delay.

Steps to reproduce

Under Configuration > Development, turn on Aggregation for Javascript files.

Go to the Taxonomy listing /admin/structure/taxonomy
The dropdown button render as text before converting to buttons.

Proposed resolution

Find the slowness in rendering the aggregated JS file. I have a theory that it's because jquery 3.7 is being aggregated on every page load and not cached.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 293406

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>