Problem/Motivation
CSS variables related to Gin were fixed in the release 2.1.1 (containing only changes from the issue https://www.drupal.org/project/autocomplete_deluxe/issues/3511651).
The provided fix has a faulty CSS property value (unclosed var(): background-color: var(--gin-color-primary-light-hover;) for background-color. When CSS/JS is being aggregated, this will cause multiple issues on the site. Paragraph creation widget and admin_toolbar to name a few.

Steps to reproduce
- Install admin_toolbar and latest autocomplete_deluxe
- Enable CSS/JS aggregation for the site
- Configure autocomplete_deluxe widget for a content type
- See the node form and the issue revealing itself
Proposed resolution
Fix the broken value.
Remaining tasks
- ✅ File an issue
- ✅ Addition/Change/Update/Fix
- ✅ Testing to ensure no regression
- ➖ Automated unit testing coverage
- ➖ Automated functional testing coverage
- ➖ UX/UI designer responsibilities
- ➖ Readability
- ➖ Accessibility
- ➖ Performance
- ➖ Security
- ➖ Documentation
- ✅ Code review by maintainers
- ✅ Full testing and approval
- ✅ Credit contributors
- ✅ Review with the product owner
- ✅ Release notes snippet
- ❌ Release autocomplete_deluxe-2.1.2
API changes
- N/A
Data model changes
- N/A
Release notes snippet
- Issue #3512207 by isampo, shortspoken: Fixed broken CSS variable which causing UI issues when CSS aggregation is enabled
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | autocomplete_deluxe-aggregation-broken-3512207-3.diff | 630 bytes | isampo |
Issue fork autocomplete_deluxe-3512207
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
isampo commentedMR open. Patch included for composer patching.
Comment #4
shortspoken commentedThanks for the patch. Can confirm this solves the issue. Best way would be to solve it directly in the
.scssfile though. Will see what we can do.Comment #5
rajab natshahComment #7
rajab natshahComment #8
rajab natshahComment #9
rajab natshah✅ Released autocomplete_deluxe-2.1.2