Use final release of parallax.js and fix config entities for D9

Created on 13 April 2022, about 2 years ago
Updated 8 November 2023, 8 months ago

Problem/Motivation

The 2.0.x branch does not save config/selectors properly in Drupal 9. In addition, while the jQuery plugin it relies on is no longer actively updated, the original version specified here is specifically deprecated, and there is a newer release with better structure and configuration options available from a different repository. Said release also eliminates two other script dependencies.

Proposed resolution

Incorporate the patch below to fix config export behavior, reduce/ameliorate external dependencies, and offer clearer instruction for setting up a scrolling element with data attributes. Note that this config entity change may break existing stored config for this module, requiring you to recreate your list of selectors--but as it's already broken, I can't imagine anyone is relying too heavily on it in D9.

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States brendanthinkshout

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.

  • πŸ‡¨πŸ‡¦Canada orizonmedia

    Hi, it works when you add data-image-src="/path/to/image/ attributes in additon to the jquery selector but it no more works as a background... cannot apply background css styling, on it so it become unfortunatly restricting...

  • πŸ‡ΊπŸ‡ΈUnited States brendanthinkshout

    If, heaven forbid, you are like me and need to upgrade to D10 while still using this module, here is a patch that will stop composer from yelling at you.

Production build 0.69.0 2024