PriceSpider doesn't rebind on async renders

Created on 7 December 2018, almost 6 years ago
Updated 28 August 2023, about 1 year ago

Problem/Motivation

When using ajax to render new content that includes 'ps-widget' markup no rebinding of PriceSpider widgets occur.

Proposed resolution

- Including pricespider.js and referencing as 'main' in libraries.yml
- On behavior.attach execute window.PriceSpider.rebind() given that ps-widget is found in context.

Remaining tasks

Making patch.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

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.71.5 2024