jQuery events not firing in subtheme

Created on 15 November 2018, over 5 years ago
Updated 27 March 2023, over 1 year ago

I am using the sticky top bar and have noticed an odd behavior I cant debug. I have enabled the sticky foundation top bar, and it is sticky, but the javascript/jQuery controlling the class changes associated with the setSticky functions are not firing correctly.

Setting breakpoints in the foundation.min.js show that the associated functions ARE called when Toolbar is being displayed at the top, or when I output variables with dump(). This had me thinking that it was related to a jquery dependency in my subtheme files. Currently I have

- core/jquery
- core/drupal
- core/drupalSettings
- core/jquery.once

in my libraries.yaml file. Any idea what I might be missing?

πŸ’¬ Support request
Status

Needs review

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Vanguardian

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024