Affix library still broken

Created on 15 June 2023, about 1 year ago
Updated 23 September 2023, 9 months ago

Problem/Motivation

The fix committed for 🐛 Affix missing jquery.once dependency Fixed was incomplete. The bootstrap_barrio/affix library still does not declare its dependency on the core/once library.

This leads to Javascript runtime errors like the following:

ReferenceError: once is not defined
    at Object.attach (http://localhost/themes/contrib/bootstrap_barrio/js/affix.js?v=10.0.9:29:7)
    at http://localhost/core/misc/drupal.js?v=10.0.9:166:24
    at Array.forEach (<anonymous>)
    at Object.Drupal.attachBehaviors (http://localhost/core/misc/drupal.js?v=10.0.9:162:34)
    at http://localhost/core/misc/drupal.init.js?v=10.0.9:32:12
    at HTMLDocument.listener (http://localhost/core/misc/drupal.init.js?v=10.0.9:20:7)

Proposed resolution

Update the bootstrap_barrio/affix library definition.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: duplicate

Version

5.5

Component

Code

Created by

🇺🇸United States joegraduate Arizona, USA

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

Comments & Activities

Production build 0.69.0 2024